摘要: Xcode6,引入viewController代码:1.在Appdelegate先引入ViewController头文件2.ViewControllervc=(ViewControlleralloc)init;Self.window.rootViewController=vc;然后vc就代表View... 阅读全文
posted @ 2015-02-26 19:19 被阳光素描 阅读(105) 评论(0) 推荐(0) 编辑
摘要: /* 不可变字典 NSDiction */ // 创建字典对象 // 参数1 : value // 参数2 : key 值// NSDictionary *dic1 = [NSDictionary dictionaryWithObject:@"张三" forKey:@"name"];... 阅读全文
posted @ 2015-02-06 16:02 被阳光素描 阅读(111) 评论(0) 推荐(0) 编辑
摘要: int main(int argc, const char * argv[]) {//// // SDK // Software Development Kit // 软件开发 // API // Application Programming Interface // 应用程序接口... 阅读全文
posted @ 2015-02-06 16:00 被阳光素描 阅读(173) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-02-06 15:58 被阳光素描 阅读(1) 评论(0) 推荐(0) 编辑
摘要: @implementation AddressBook// 系统预设好的init方法- (instancetype)init{ self = [super init]; if (self) { // 容器类在使用之前 必须先进行初始化 self.contactDic = [NSMut... 阅读全文
posted @ 2015-02-06 15:55 被阳光素描 阅读(129) 评论(0) 推荐(0) 编辑