UIButton's Sender Control Events
UIButton's Sender Control Events
- Subject: UIButton's Sender Control Events
- From: Chunk 1978 <email@hidden>
- Date: Sun, 24 Jan 2010 11:54:57 -0500
is it not possible to handle a sender's controlEvents inside a single
method instead of sending it off to another method?
-(IBAction)myButton:(id)sender
{
if (sender.UIControlEvent =
forControlEvents:UIControlEventTouchUpInside) NSLog(@"touchUp");
}
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden