摘要:
iOS应用数据存储的常用方式1.lXML属性列表(plist)归档2.lPreference(偏好设置)3.lNSKeyedArchiver归档(NSCoding)4.lSQLite35.lCore DataDocuments:保存应用运行时生成的需要持久化的数据,iTunes同步设备时会备份该... 阅读全文
摘要:
UITabBarController的使用步骤1.初始化UITabBarController2.设置UIWindow的rootViewController为UITabBarController3.根据具体情况,通过addChildViewController方法添加对应个数的子控制器 UITa... 阅读全文
摘要:
UINavigationController的使用步骤1.初始化UINavigationController2.设置UIWindow的rootViewController为UINavigationController3.根据具体情况,通过push方法添加对应个数的子控制器 UINavigati... 阅读全文
摘要:
控制器的创建方式:1.代码直接创建ZYViewController * Vc = [[ZYViewController alloc] init];2.通过storyboard:UIStoryboard *storyboard = [UIStoryboard storyboardWithName:... 阅读全文
摘要:
ios程序启动过程 UIApplication:1.每一个应用都有自己的UIApplication对象,而且是单例的,通过[UIApplication sharedApplication]可以获得这个单例对象.2.UIApplication的常用属性:@property(nonatomic) ... 阅读全文