码迷,mamicode.com
首页 > 移动开发 > 详细

IOS apprentice4

时间:2015-05-12 15:04:39      阅读:151      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!