
UI
文章平均质量分 60
RunningZeroZZZ
不要在最能吃苦的时候选择安逸...
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UIView的基本控件
RunningZero原创,大家一起分享,一起学习,一起进步 UIview UIBotten(按钮) 开辟空间 + 初始化 [UIButton buttonWithType(枚举):UIButtonTypeSystem] 按钮设置标题 [setTitle: forState(枚举):] 参数1:按钮的标题 参数2:显示这个标题的状态 设置按原创 2016-01-09 14:47:26 · 619 阅读 · 0 评论 -
视图手势
原创 2016-01-09 16:24:06 · 385 阅读 · 0 评论 -
手势
self.view.backgroundColor = [UIColor whiteColor]; UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 200, 300)]; imageView.center = self.view.cen原创 2016-02-05 23:01:15 · 442 阅读 · 0 评论 -
NSURLSession
// 拿到字符串,获取url NSString *string = @"http://a.vip.migu.cn/rdp2/v5.5/index.do?ua=Iphone_Sst&version=4.2421&pageno=1"; NSURL *url = [NSURL URLWithString:string]; // 设置URL请求原创 2016-02-14 21:55:13 · 439 阅读 · 0 评论 -
JSON
txt文件名为MovieList.txt //解析数据时用这种方法不用每次运行时都改文件路径 NSString *path = [[NSBundle mainBundle] pathForResource:@"MovieList" ofType:@"txt"]; NSData *data = [NSData dataWithContentsOfFile:原创 2016-02-04 21:33:40 · 357 阅读 · 0 评论