Re: Problems with NSComboBox delegate
Re: Problems with NSComboBox delegate
- Subject: Re: Problems with NSComboBox delegate
- From: Quincey Morris <email@hidden>
- Date: Thu, 26 Jun 2014 11:52:11 -0700
On Jun 26, 2014, at 11:44 , William Squires <email@hidden> wrote:
> the delegate method (of interest):
>
> -(void)comboBoxSelectionDidChange:(NSNotification *)notification
>
> doesn't pass the reference to the NSComboBox whose selection changed,
It does. It’s usual for these sorts of delegate methods that the sender is the notification object (that is, ‘notification.object’). This is documented if you follow the documentation link to the notification itself.
_______________________________________________
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