07 2015 档案

摘要:1.读写性修饰符:readwrite | readonlyreadwrite:表明这个属性是可读可写的,系统为我们创建这个属性的setter和getter方法。readonly:表明这个属性只能读不能写,系统只为我们创建一个getter方法,不会创建setter方法2.setter相关修饰符:ass... 阅读全文
posted @ 2015-07-17 01:46 Rui.peng 阅读(2911) 评论(0) 推荐(0)
摘要:我们经常会遇到 项目加入 C或者C++文件的时候 出现 could not build module foundation错误需要加上#ifdef__OBJC__#import#import#import"AppDelegate.h"#endif表示宏内引用的文件确保只被使用Objective-C语... 阅读全文
posted @ 2015-07-14 12:23 Rui.peng 阅读(777) 评论(0) 推荐(0)
摘要:数组 没有 alloc 阅读全文
posted @ 2015-07-07 21:45 Rui.peng 阅读(112) 评论(0) 推荐(0)
摘要:- (void)viewWillAppear:(BOOL)animated{ self.tabBarController.tabBar.hidden = NO;} 阅读全文
posted @ 2015-07-07 21:44 Rui.peng 阅读(217) 评论(0) 推荐(0)