2013年6月30日
摘要: 我的博客地址:http://www.cnblogs.com/lvzhixuan/http://blog.163.com/happy_xuan/http://7484565.blog.51cto.com/http://blog.chinaunix.net/uid/29012421.htmlhttp://blog.sina.com.cn/u/3484295473 阅读全文
posted @ 2013-06-30 18:38 轩是Me 阅读(151) 评论(0) 推荐(0) 编辑
摘要: /*************************************************************************NSDictionary****************************************************************************///内容可以是任意的对象指针//内容是一些键值对keyàvalue//必须成对出现一个key对应一个value//key是唯一的不能出现多个相同的key1.创建一个不可变字典(1)NSDictionary*dict=[[NSDictionaryalloc]init 阅读全文
posted @ 2013-06-30 18:07 轩是Me 阅读(401) 评论(0) 推荐(0) 编辑
摘要: /***********************************************************************************************************************NSArray************************************************************************************************************************//*---------------------------创建数组------------------- 阅读全文
posted @ 2013-06-30 18:06 轩是Me 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 常用字符串函数/*******************************************************************************一.NSString*******************************************************************************//*----------------创建字符串的方法----------------*///1、创建常量字符串NSString*astring=@"Welcometo1000phone";//2、通过实例化方法initWith 阅读全文
posted @ 2013-06-30 18:04 轩是Me 阅读(467) 评论(0) 推荐(0) 编辑
摘要: /*文件管理与读写操作*//*NSFileManager类文件管理器常用操作*///首先要创建一个文件管理器:NSFileManager*fm=[NSFileManagerdefaultManager];//创建管理对象浅度遍历目录,当前目录-contentsOfDirectoryAtPath:error:深度遍历目录-subpathsOfDirectoryAtPath:error:创建目录-createDirectoryAtPath:withIntermediateDirectories:attributes:error:创建文件–createFileAtPath:contents:attr 阅读全文
posted @ 2013-06-30 18:01 轩是Me 阅读(967) 评论(0) 推荐(0) 编辑
摘要: UITextField讲解一.基本属性设置1.创建一个文本输入框UITextField*textField=[[UITextFieldalloc]initWithFrame:CGRectMake(10,30,300,30)];2.设置边框样式textField.borderStyle=UITextBorderStyleRoundedRect;//圆角typedefenum{UITextBorderStyleNone,无边框UITextBorderStyleLine,有边框UITextBorderStyleBezel,有边框和阴影UITextBorderStyleRoundedRect圆角}UI 阅读全文
posted @ 2013-06-30 10:01 轩是Me 阅读(743) 评论(2) 推荐(1) 编辑