三1.WhentouseNSMutableArrayandwhentouseNSArray?1>当数组元素需要动态地添加或者删除时,用NSMutableArray2>当数组元素固定不变时,用NSArray2.Giveusexampleofwhataredelegatemethodsandwhataredatasourcemethodsofuitableview.1>代理方法:返回tableView每行的高度、监听tableView每行的选中2>数据源方法:返回tableView数据的组数和行数、每行显示什么数据3.Howmanyautoreleaseyoucancreateinyourapplication?Isthereanylimit?没有限制4.Ifwedon’tcreateanyautoreleasepoolinourapplicationthenisthereanyautoreleasepoolalreadyprovidedtous?系统会默认会不定时地创建和销毁自动释放池5.Whenyouwillcreateanautoreleasepoolinyourapplication?当需要精确地控制对象的释放时间时,需要手动创建自动释放池6.Whenretaincountincrease?当做一次retain或者copy操作,都有可能增加计数器7.WhatarecommonlyusedNSObjectclassmethods?NSObject常见的类方法有:alloc、new、description等三8.Whatisconvenienceconstructor?像NSStirng的stringWithFormat,NSNumber的numberWithInt9.HowtodesignuniversalapplicationinXcode?1>创建项目时,Device选择Universal2>可以创建一套痛用的数据模型3>根据iPhone\iPad选择不同的控制器(iPad可能用UISplitViewController)4>根据iPhone\iPad选择不同的界面10.WhatiskeywordatomicinObjectiveC?1>atomic是原子性2>atomic会对set方法的实现进行加锁11.WhatareUIViewanimations?UIView封装的核心动画可以通过类方法\block实现12.HowcanyoustoredatainiPhoneapplications?1>属性列表2>Preference(NSUserDefaults)3>键值归档(NSKeyedArchiver、NSCoding)4>SQLite数据库5>CoreData13.WhatisNSManagedObjectmodel?NSManagedObject是CoreData中的实体对象14.Whatispredicate?谓词:可以以一定条件来过滤数组、字典等集合数据,也能用在CoreData的数据查询中