摘要: 数据的序列化,持久化,归档 1.Foundation 2.数据属性列表(NSArray,NSDictionary) 3.sqlite,cocodata 归档后文件的数据会自动加密,不再是明文,局限性在于,只能对一个对象进行归档 /**归档,数据持久化,数据序列化**/ /* NSString *fi 阅读全文
posted @ 2016-04-09 09:09 meixianLYD 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 图标和图像大小每一个应用程序需要一个应用程序图标和启动图像。此外,一些应用程序需要自定义的图标来表示特定于应用程序的内容,功能,或在导航栏,工具栏和标签栏模式。不像其他的定制艺术品在您的应用程序的图标和图像,表38-1列出必须满足特定的标准,因此,IOS可以正确显示。此外,一些图标和图像文件的命名要... 阅读全文
posted @ 2015-12-19 16:42 meixianLYD 阅读(456) 评论(0) 推荐(0) 编辑
摘要: UICollectionView基础初始化部分:UICollectionViewFlowLayout *flowLayout= [[UICollectionViewFlowLayout alloc]init];self.myCollectionView = [[UICollectionView al... 阅读全文
posted @ 2015-11-16 15:44 meixianLYD 阅读(429) 评论(0) 推荐(0) 编辑
摘要: IOS学习笔记25—HTTP操作之ASIHTTPRequest分类:iOS2012-08-12 10:047734人阅读评论(3)收藏举报iosios5网络wrapper框架新浪微博ASIHTTPRequest是一个第三方开源项目,在现在的IOS应用中多使用到这个开源类库来提供网络操作,相比于SDK... 阅读全文
posted @ 2015-11-04 21:53 meixianLYD 阅读(159) 评论(0) 推荐(0) 编辑
摘要: UISegmentedControl中一些常见的属性和用法//设置以图案作为分段的显示,仅需要图案的轮廓,这样颜色为分段的背景颜色// NSArray *items = @[[UIImage imageNamed:@"segmented1"],[UIImage imageNamed:@"segme... 阅读全文
posted @ 2015-06-17 09:28 meixianLYD 阅读(310) 评论(0) 推荐(0) 编辑
摘要: XCODE UITextField 中的属性和用法 一些基本的用法UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; CGRect frame =CGRectMake(110, 100, 100, 30); ... 阅读全文
posted @ 2015-05-28 19:26 meixianLYD 阅读(520) 评论(0) 推荐(0) 编辑
摘要: //第一种创建UIButton的方法 //initWhitFrame: UIButton *button = [[UIButton alloc]initWithFrame:CGRectMake(110, 100, 100, 30)]; button.backgroundColor = [UIC... 阅读全文
posted @ 2015-05-27 20:39 meixianLYD 阅读(2253) 评论(0) 推荐(0) 编辑
摘要: Label 中常用的方法属性UILabel *label =[[UILabel alloc]initWithFrame:CGRectMake(90, 100, 140, 40)];//设置Label的大小 //label.text =@"loveLYD meixian";//1.设置Label的文... 阅读全文
posted @ 2015-05-26 19:07 meixianLYD 阅读(795) 评论(1) 推荐(0) 编辑
摘要: UILabel中一个水平移动的LabelUILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(10, 10, 300, 300)]; UILabel *label7 = [[UILabel alloc]initWithFrame:CGR... 阅读全文
posted @ 2015-05-26 18:59 meixianLYD 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 很多时候对于不同的版本,随设备的旋转以后,相应的Button的大小如果不做相应的改变,这很影响视图的美观和布局;下面是小编的个人看法UIButton *button = [[UIBtton alloc]init];button.frame =CGRectMake(320/2-100/2,60,100... 阅读全文
posted @ 2015-05-10 21:53 meixianLYD 阅读(449) 评论(0) 推荐(0) 编辑