摘要: 1.NSThread 2.NSOperationQueue 3.GCD NSThread: 创建方式主要有两种: [NSThread detachNewThreadSelector:@selector(myThreadMainMethod:) toTarget:self withObject:nil 阅读全文
posted @ 2015-11-23 12:00 木木文 阅读(444) 评论(0) 推荐(0) 编辑
摘要: XCode7连接互联网的时候需要再info.plist设置(之前版本都不需要)连接网络NSAppTransportSecurity 字典NSAllowsArbitraryLoads 布尔 YES 阅读全文
posted @ 2015-11-20 13:15 木木文 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 模拟器菜单Hardware->Keyboard->Connect Hardware Keyboard取消选中,快捷键commad+shift+K 阅读全文
posted @ 2015-11-20 13:12 木木文 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: 首先、模拟器设置->通用->键盘->键盘->添加新键盘->简体中文(英文环境下:Settings->General->Keyboard->Keyboards->Add New Keyboard->Chinese(Simplified))然后、Xcode菜单Product->Scheme->EditS 阅读全文
posted @ 2015-11-20 13:12 木木文 阅读(2705) 评论(0) 推荐(0) 编辑
摘要: UIView 继承于UIResponder 所遵守的协议有 NSCoding 、UIAppearance、 UIAppearanceContainer UIDynamicItem、 NSObject从继承的类我们就可以看出 UIView 这个类可以响应手势那么我们就从它的属性开始这一旅程吧 UIVi 阅读全文
posted @ 2015-11-19 10:36 木木文 阅读(436) 评论(0) 推荐(0) 编辑
摘要: @class #import #include 简介 阅读全文
posted @ 2015-11-19 10:28 木木文 阅读(506) 评论(0) 推荐(0) 编辑