代码改变世界

阅读排行榜

Class 'ViewCell' has no initializers

2017-06-15 12:14 by dengchaojie_learner, 823 阅读, 收藏,
摘要: Class 'ViewCell' has no initializers all variables must have an initialized value in Swift except Optional. import UIKit class InterestCollectionViewC 阅读全文

ios 11禁止访问无效证书的https

2017-07-18 15:56 by dengchaojie_learner, 784 阅读, 收藏,
摘要: 此服务器的证书无效。您可能正在连接到一个伪装成“merch.hrtpayment.com”的服务器,这会威胁到您的机密信息的安全。 阅读全文

beginBackgroundTaskWithExpirationHandle

2015-08-19 21:04 by dengchaojie_learner, 770 阅读, 收藏,
摘要: [[UIApllication sharedApplication] beginBackgroundTaskWithExpirationHandle:^{}];这个方法在app进入后台时,可以做一些事情iOS7后,都是全屏的app,内容在状态栏的下面也有@property(nonatomic,ass... 阅读全文

iOS开发框架-CDD应用层架构学习总结

2017-11-01 11:34 by dengchaojie_learner, 766 阅读, 收藏,
摘要: 怎么样用context,把数据、view和业务逻辑串起来的? 例如:聊天页面,输入框view产生的“hello”文本,直接通过context传递到BusinessObject进行处理,生成的新消息message通过DataHandler插入到message array之后,直接通知到message 阅读全文

iOS 悬停view

2017-11-17 15:33 by dengchaojie_learner, 760 阅读, 收藏,
摘要: //view位于tableview(或者scrollview)的上面,当向上滚动scrollview时,view跟随滚动,并最终悬停固定位置。 //tabBar是view,scrollView是个tableview - (void)scrollViewDidScroll:(UIScrollView 阅读全文
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 54 下一页