2016年8月30日

摘要: //自定义标签栏 //第一个按钮 UIButton *firstButton = [UIButton buttonWithType:UIButtonTypeCustom]; firstButton.tag = 0; firstButton.frame = CGRectMake(0, ScreenHe 阅读全文
posted @ 2016-08-30 00:15 小姐贫僧光天化日 阅读(91) 评论(0) 推荐(0) 编辑
 

2016年8月26日

摘要: 获取son中的数据 //创建路径 NSString *path = [[NSBundle mainBundle] pathForResource:@"news" ofType:@"json"]; NSData *data = [NSData dataWithContentsOfFile:path]; 阅读全文
posted @ 2016-08-26 19:58 小姐贫僧光天化日 阅读(74) 评论(0) 推荐(0) 编辑
 

2016年8月15日

摘要: // UIButton CGRect rect = CGRectMake(0, 100, 200, 50); UIButton *button = [[UIButton alloc]initWithFrame:rect]; button.backgroundColor = [UIColor yell 阅读全文
posted @ 2016-08-15 12:49 小姐贫僧光天化日 阅读(125) 评论(0) 推荐(0) 编辑
 

2016年8月6日

摘要: 我是从iOS5开始接触iPhone操作系统,对此系统也算是有爱有恨,今天从网上整理以下整个iOS发展的历史,了解了解也算做以后闲时讨论的一个话题。 电脑需要操作系统,手机也需要,2007年,苹果带着旗下第一款智能手机iPhone和第一款操作系统亮相,从而奠定了掀起智能手机狂潮的基础。 8年时间以来, 阅读全文
posted @ 2016-08-06 11:13 小姐贫僧光天化日 阅读(736) 评论(0) 推荐(0) 编辑
 

2016年8月1日

摘要: 1,字符串 字符串的创建:两种常用初始化方式 NSString *str=[[NSString alloc]initWithFormat:@"i am a boy"]; NSString *str1=[NSString stringWithFormat:@"i am a boy"]; NSStrin 阅读全文
posted @ 2016-08-01 22:21 小姐贫僧光天化日 阅读(201) 评论(0) 推荐(0) 编辑
 

2016年7月28日

摘要: NSData与NSMutableData:代表数据缓冲区有两个作用,将数据读入NSData和输出NSData数据 输出 将字符串写入指定文件 用NSFileManager:为创建,删除,移动,复制文件或目录 三种排序方法 1,用系统排序的方法进行排序 2,对字典的字符串进行排序 3,对数组中某一属性 阅读全文
posted @ 2016-07-28 22:04 小姐贫僧光天化日 阅读(106) 评论(0) 推荐(0) 编辑