摘要: NSObject UIResponder UIView UIWindow UILabel UIPickerView UIProgressView UIImageView UITabBar UIToolBar UINavigateBar UITableViewCell UIActionSheet UIAlertV... 阅读全文
posted @ 2012-08-22 15:32 大树2 阅读(1131) 评论(0) 推荐(0) 编辑
摘要: IOS 小技巧1. 使用@property和@synthesize声明一个成员变量,给其赋值是时要在前面加上"self.",以便调用成员变量的setmember方法。 直接调用成员变量并且给其赋值:member=[NSString stringWithFormat:@””];将不执行setmember 方法。 使用self调用成员变量并且给其赋值:self.member=[NSString stringWithFormat:@””];将执行setmember方法。2.延时函数: [NSThread sleepForTimeInterval:3]; [self perform 阅读全文
posted @ 2012-08-22 14:59 大树2 阅读(570) 评论(0) 推荐(0) 编辑
摘要: 通常引用一个类有两种办法: 一种是通过#import方式引入; 另一种是通过@class引入;#improt: 会包含被引用类的所有信息;@class方式只是告诉编译器在A.h文件中B *b只是类的声明,具体这个类里有什么信息,这里不需要知道,等实现文件中真正要用到时,才会真正去查看B类中信息;1、#import方式会包含被引用类的所有信息,包括被引用类的变量和方法;@class方式只是告诉编译器在A.h文件中B *b只是类的声明,具体这个类里有什么信息,这里不需要知道,等实现文件中真正要用到时,才会真正去查看B类中信息;2、使用@class方式由于只需要只要被引用类(B类)的名称就可以了,. 阅读全文
posted @ 2012-08-22 13:42 大树2 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 1 UIView UIWindow UILable UIProcessVIEW UITabar2 UIViewController UITableViewController UINavigateViewController三个结构体:CGPoint、CGSize、CGRect1. CGPointC代码 /*Points.*/ structCGPoint{ CGFloatx; CGFloaty; }; typedefstructCGPointCGPoint;看到这个想必你已经懂了,不再解释。2. CGSizeC代码 /*... 阅读全文
posted @ 2012-08-22 13:34 大树2 阅读(4197) 评论(0) 推荐(1) 编辑
摘要: 1 iphone background ipad,iphone,ipod touch2 history: 2007.6 iphone sale in us 2008.6, iphone 3 2010.6 iphone 4 2010.1 ipad3 appstore over 300,000 programs download 10 billion times "angry bird"4 iPhone development environment hard ware: mac book or desktop iphone/ipad/ipod ... 阅读全文
posted @ 2012-08-22 13:13 大树2 阅读(477) 评论(0) 推荐(0) 编辑