mapanguan

导航

2016年9月8日 #

iOS 计时器暂停和开始 防止重复点击

摘要: IOS 计时器暂停和开始 防止重复点击 阅读全文

posted @ 2016-09-08 17:57 mapanguan 阅读(6433) 评论(0) 推荐(0) 编辑

如何判断ScrollView滑动方向

摘要: 1/判断滚动视图左右滚动 2/判断上下滚动视图上下滚动 阅读全文

posted @ 2016-09-08 17:50 mapanguan 阅读(4958) 评论(0) 推荐(0) 编辑

iOS 跳转至AppStore的两种方式

摘要: //第一种方法 直接跳转 id+编号 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.apple.com/app/id1018221712"]]; //第二中方法 应用内跳转 //1:导入StoreKit.f... 阅读全文

posted @ 2016-09-08 17:41 mapanguan 阅读(912) 评论(0) 推荐(0) 编辑

2016年5月19日 #

iOS 通过苹果开放API检测更新

摘要: 通过官网API 对比版本号获取版本更新 API地址:官网地址 https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/ 阅读全文

posted @ 2016-05-19 10:34 mapanguan 阅读(304) 评论(0) 推荐(0) 编辑

2016年5月16日 #

Runtime 动态加载方法

摘要: 源自小马哥教学视频 阅读全文

posted @ 2016-05-16 15:11 mapanguan 阅读(275) 评论(0) 推荐(0) 编辑

Runtime 交换方法

摘要: 源自小马哥教学视频 阅读全文

posted @ 2016-05-16 15:08 mapanguan 阅读(222) 评论(0) 推荐(0) 编辑

Runtime消息传送

摘要: 源自小马哥教学视频 阅读全文

posted @ 2016-05-16 15:05 mapanguan 阅读(167) 评论(0) 推荐(0) 编辑

2016年5月11日 #

iOS9 新加关键字 nullable、nonnull、null_unspecified、null_resettable

摘要: #import "ViewController.h" @interface ViewController () @property(nonatomic,nullable)NSString*name;//可以为空 @property(nonatomic,nonnull)NSString*passwor 阅读全文

posted @ 2016-05-11 09:28 mapanguan 阅读(411) 评论(0) 推荐(0) 编辑

2016年5月10日 #

KVC/KVO简单实例代码

摘要: 代码摘选自 http://www.cnblogs.com/kenshincui/p/3871178.html 阅读全文

posted @ 2016-05-10 13:49 mapanguan 阅读(164) 评论(0) 推荐(0) 编辑

2016年5月9日 #

Block传值

摘要: 1、在需要回调的B界面:.h 2、在需要回调B界面: .m 3、接收返回值得A界面 阅读全文

posted @ 2016-05-09 09:12 mapanguan 阅读(175) 评论(0) 推荐(0) 编辑