IOS 小技巧积累
摘要:
转自:http://blog.csdn.net/mars2639/article/details/73520121. 使用@property和@synthesize声明一个成员变量,给其赋值是时要在前面加上"self.",以便调用成员变量的setmember方法。 直接调用成员变量并且给其赋值:member=[NSString stringWithFormat:@””];将不执行setmember 方法。 使用self调用成员变量并且给其赋值:self.member=[NSString stringWithFormat:@””];将执行setmember方法。2.延时函数: 阅读全文
posted @ 2013-07-08 14:52 王培 阅读(241) 评论(0) 推荐(0) 编辑