摘要: 大头针模型 自定义大头针 阅读全文
posted @ 2016-05-31 23:13 雷坤 阅读(1928) 评论(0) 推荐(0) 编辑
摘要: 1.地图的简介 在移动互联网时代,移动app能解决用户的很多生活琐事,比如 导航:去任意陌生的地方 周边:找餐馆、找酒店、找银行、找电影院 手机软件:微信摇一摇、QQ附近的人、微博、支付宝等在上述应用中,都用到了地图和定位功能,在iOS开发中,要想加入这两大功能,必须基于两个框架进行开发 Map K 阅读全文
posted @ 2016-05-31 22:41 雷坤 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 1 #import "RootViewController.h" 2 #import "Masonry.h" 3 @interface RootViewController () 4 5 @end 6 7 @implementation RootViewController 8 9 - (void)viewDidLoad { 10 [super viewDidLo... 阅读全文
posted @ 2016-05-30 23:02 雷坤 阅读(1225) 评论(0) 推荐(0) 编辑
摘要: 1 @interface ViewController () 2 // 显示图片 3 @property (weak, nonatomic) IBOutlet UIImageView *imageView; 4 5 // 显示进度 6 @property (weak, nonatomic) IBOutlet UIProgressView *progressView; ... 阅读全文
posted @ 2016-05-30 17:25 雷坤 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 下载FMDB文件(gitHub链接:https://github.com/ccgus/fmdb) 阅读全文
posted @ 2016-05-30 16:09 雷坤 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 1 #import "RootViewController.h" 2 #import "RootView.h" 3 @interface RootViewController () 4 @property (nonatomic, strong) RootView *rootView; 5 // 定义大数组存放所有学生 6 @property (nonatomic, str... 阅读全文
posted @ 2016-05-30 08:36 雷坤 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1 #import "RootViewController.h" 2 #import "RootView.h" 3 #define kColor arc4random() % 256 / 255.0 4 @interface RootViewController () 5 @property (nonatomic, strong) RootView *rootView; ... 阅读全文
posted @ 2016-05-30 08:29 雷坤 阅读(160) 评论(0) 推荐(0) 编辑
摘要: NSAppTransportSecurity NSAllowsArbitraryLoads 阅读全文
posted @ 2016-05-29 15:57 雷坤 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1>.h声明属性 2>.m实现步骤 3>在ViewController里设置UIScrollView的代理Delegate和给UIPageControl添加事件 阅读全文
posted @ 2016-05-29 15:33 雷坤 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 1 //当点击键盘return键的时候 2 - (BOOL)textFieldShouldReturn:(UITextField *)textField 3 { 4 [textField resignFirstResponder]; // 释放第一响应者 5 NSLog(@"%@",textField.text); 6 return YES; 7 } 1 // 触摸屏... 阅读全文
posted @ 2016-05-29 14:48 雷坤 阅读(585) 评论(0) 推荐(0) 编辑