• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems with NSComboBox delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Problems with NSComboBox delegate (From: William Squires <email@hidden>)

  • Prev by Date: Problems with NSComboBox delegate
  • Next by Date: Re: Problems with NSComboBox delegate
  • Previous by thread: Problems with NSComboBox delegate
  • Next by thread: Re: Problems with NSComboBox delegate
  • Index(es):
    • Date
    • Thread