addTarget: forControlEvents: ?
addTarget: forControlEvents: ?
- Subject: addTarget: forControlEvents: ?
- From: Dave <email@hidden>
- Date: Tue, 07 Apr 2015 20:49:20 +0100
Hi All,
Given the iOS/Cocoa-Touch code:
[self addTarget:self action:@selector(buttonTouchUpInsideAction:) forControlEvents:UIControlEventTouchUpInside];
[self addTarget:self action:@selector(buttonTouchDownAction:) forControlEvents:UIControlEventTouchDownInside];
What is the Equivalent for Mac/Cocoa?
Thanks a lot
Cheers
Dave
_______________________________________________
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