经常用到IBAction的方法,-(IBAction)clickButton:(id)sender
这个常用写法只有一个参数,就是点击的对象。实际上苹果允许有几种写法
-
- (void)action
-
- (void)action:(id)sender
-
- (void)action:(id)sender forEvent:(UIEvent *)event
经常用到IBAction的方法,-(IBAction)clickButton:(id)sender
这个常用写法只有一个参数,就是点击的对象。实际上苹果允许有几种写法
- (void)action
- (void)action:(id)sender
- (void)action:(id)sender forEvent:(UIEvent *)event