摘要:
1. 使用线程 延迟 在第一个加载页面 ViewDidLoad { [NSThread sleepForTimeInterval:3]; } 2.使用动画 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithO 阅读全文
摘要:
self.window = UIWindow(frame:UIScreen.mainScreen().bounds) let rootVC : RootViewController = RootViewController() let navi = UINavigationController(ro 阅读全文
摘要:
1.长连接 VS 短连接 长连接:连接 -> 发送数据包 -> 保持心跳 -> 发送数据包 -> 保持心跳 ->......-> 关闭 短连接:连接 -> 发送数据包 -> 关闭 2.在网络层有IP等协议。 在传输层中有TCP协议与UDP协议。 在应用层有FTP、HTTP等协议。 3.智能家居 需要 阅读全文
摘要:
OC必备知识 一、 runtime 1. runtime 是OC语言的特性,代表运行时。它的表现比如:定义一个数组越界,代码在编译时并不报错,但是运行后会崩溃。 二、runloop 2. RunLoop 表示一种运行着的循环 2.1 一般app启动后,如果不点击任何控件,不会生成runloop ,它 阅读全文
摘要:
<!--?xml version="1.0" encoding="UTF-8" standalone="no"?--> 登录 | 注册 登录 | 注册 登录 | 注册 登录 | 注册 目录视图 摘要视图 订阅 图像: 1.图片浏览控件MWPhotoBrowser 实现了一个照片浏览器类似 iOS 自 阅读全文
摘要:
pod update --no-repo-update 阅读全文
摘要:
PART-One : UI界面 1. 侧边栏 风格 RESideMenu 2. 导航栏 CRNavigationController 类似于网易 和 Facebook 的导航栏效果; http://www.cocoachina.com/industry/20131024/7233.html gith 阅读全文
摘要:
- (void)viewDidLoad { [super viewDidLoad]; [self createData]; //tableview样式 UITableViewStylePlain 线性的 // UITableViewStyleGrouped 组的样式 UITableView * ta 阅读全文