摘要:
In review, these are the steps for setting up the delegate pattern between two objects, where object A is the delegate for object B and object B will 阅读全文
摘要:
1.绝对值函数abs(),可用于求两个数值之间的差距 2.如果代码如下: if (some condition) { something = YES; } else { something = NO; } 则,可用something = (some condition); 代替 3.用Propert 阅读全文
摘要:
1、打开另一个界面让用户输入时,要让键盘自动弹出 -(void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [self.textField becomeFirstResponder]; } 2、keyboard类型 阅读全文