Fork me on https://github.com
摘要: APNs 远程推送生成推送证书 1.登陆开发者中心: https://developer.apple.com 2.点开 certificates identifiers 和 proversionprofiles 里面 3.创建APPID. 勾选 push notification server... 阅读全文
posted @ 2015-12-23 22:13 OrangesChen 阅读(268) 评论(0) 推荐(0) 编辑
摘要: KVO (Key-Value-Observer, 键值观察)valueForKey 和 valueForKeyPath区别 valueForKeyPath是valueForKey的升级, valueForKey都能用valueForKeyPath, valueForKey只能一层KVC计算数组和 ... 阅读全文
posted @ 2015-12-23 21:55 OrangesChen 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 本地通知 LocalNotification在Appdelegate中实现以下两个方法- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOption... 阅读全文
posted @ 2015-12-23 21:38 OrangesChen 阅读(260) 评论(0) 推荐(0) 编辑
摘要: StoryBoard中segue的使用点击button跳转到下一个页面, 条件是textField里有值时才能实现跳转功能, 否则不跳转, 这个功能的实现就需要用到segue首先在storyboard中viewController中拖入一个imageView textField UIButton, ... 阅读全文
posted @ 2015-12-23 20:36 OrangesChen 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 出现duplicate错误的原因1.文件重名2.引入.m3.创建同名的全局变量 阅读全文
posted @ 2015-12-23 19:34 OrangesChen 阅读(1256) 评论(0) 推荐(0) 编辑