Re: addTarget: forControlEvents: ?
Re: addTarget: forControlEvents: ?
- Subject: Re: addTarget: forControlEvents: ?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 07 Apr 2015 15:11:23 -0500
On Tue, Apr 7, 2015, at 02:49 PM, Dave wrote:
> 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?
The Mac does not support multiple targets for a single control.
--Kyle Sluder
_______________________________________________
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