首页 > 移动平台 > 详细

IOS apprentice4

时间:2015-05-12 15:01:41      阅读:225      评论:0      收藏:0      [点我收藏+]

1. An postfix M means the file has been modified since the last "commit" and an A means this is a file that has been added since then.

2. what is keeping these views from being deallocated?

Views are always part of a view hierachy and they will always have an owner wit ha strong reference: their superview

技术分享

3. the didSelectRowAtIndexPath method will simply deselect the row with an animation, while willSelectRowAtIndexPath makes sure that you can only select rows with actual search results.

4. A nib, also called a xib, is very much like a storyboard except that it only contains the design for a single thing. That thing can be a view controller but it can also be an individual view or table view cell. A nib is really nothing more than a container for a "freeze dried" object that you can edit in Interface Builder

Xib or nib?  a xib file is compiled into a nib file that is put into your application bundle. the term inb mostly stuck for historical reasons(it stands for NeXT Interface Builder).

IOS apprentice4

原文:http://www.cnblogs.com/glee/p/4497028.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!