摘要: /* 初始化方法: 1.init返回一个空数组 2.initWithArray从已有数组初始化 3.initWithContentsOfFile//从plist文件加载 4.initWithContentsOfUrl//从网络地址上获取 5.initWithObject用一个对象初始化 6.initWithObjects从多对象初始化 self.theDataArray=[[NSMutableArray alloc]initWithCapacity:5];//指定有五个元素初始化 */ /*打印第一个元素: NSLog(@"the object is:%@",[theDat 阅读全文
posted @ 2012-08-24 13:39 lizx 阅读(507) 评论(0) 推荐(0)
摘要: 摘要:方法一右侧进入BaseInfoEdit*View= initWithNibName:@"BaseInfo"bundle:nil];;返回方法;方法二下方进入OilRecordAdd*View= initWithNibName:@"OilRecordDetail"bundle:nil];;返回方法; ... ...方法一右侧进入BaseInfoEdit*View= [[BaseInfoEditalloc]initWithNibName:@"BaseInfo"bundle:nil];[self.navigationControlle 阅读全文
posted @ 2012-08-24 10:34 lizx 阅读(1243) 评论(0) 推荐(0)
摘要: UIBarButtonSystemItem(转)typedefenum{ UIBarButtonSystemItemDone, UIBarButtonSystemItemCancel, UIBarButtonSystemItemEdit, UIBarButtonSystemItemSave, UIBarButtonSystemItemAdd, UIBarButtonSystemItemFlexibleSpace, UIBarButtonSystemItemFixedSpace, UIBarButtonSystemItemCompose, UIBarButtonSystem... 阅读全文
posted @ 2012-08-24 10:10 lizx 阅读(4004) 评论(0) 推荐(0)