多项选择题
下面哪些类中使用到了单例(Singletion)模式?()
A.NSFileManager
B.NSNotificationCenter
C.UIApplication
D.UIDevice
点击查看答案
相关考题
-
多项选择题
在以.mm为拓展名的文件里,可以包含的代码有哪些?()
A.C
B.Objective-C
C.C++
D.Java -
多项选择题
下面哪些关键字会引起对象的引用计数(retainCount)加一:()。
A.alloc
B.init
C.retain
D.copy -
多项选择题
下面哪些方法是UITableView的delegate方法:()。
A.-(NSInteger)tableView:(UITableView*)tableView numberOfRowsInSection:(NSInteger)section;
B.-(UITableViewCell*)tableView:(UITableView*)tableView cellForRowAtIndexPath:(NSIndexPath*)indexPath;
C.-(CGFloat)tableView:(UITableView*)tableView heightForRowAtIndexPath:(NSIndexPath*)indexPath;
D.-(void)tableView:(UITableView*)tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath;
