• 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: NSPopupButton and bindings to NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopupButton and bindings to NSArrayController


  • Subject: Re: NSPopupButton and bindings to NSArrayController
  • From: Graham Cox <email@hidden>
  • Date: Mon, 28 Jul 2008 16:39:02 +1000

Scratch that, I read on and realised you've already found it. D'oh!


G

On 28 Jul 2008, at 4:37 pm, Graham Cox wrote:

Err, how about - (BOOL)setSelectionIndex:(NSUInteger)index;

I'm not familiar with bindings and haven't used NSArrayController, but this was immediately obvious in the docs. So obvious, it suggests I've missed the point...

htha,

Graham





On 28 Jul 2008, at 1:43 pm, John Joyce wrote:

NSArrayController provides some nifty methods, selectNext: and selectPrevious:
but I need a select: that chooses a specific item from the array. Either by index or what have you.

_______________________________________________

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: 
 >Re: NSPopupButton and bindings to NSArrayController (From: John Joyce <email@hidden>)
 >Re: NSPopupButton and bindings to NSArrayController (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSPopupButton and bindings to NSArrayController
  • Next by Date: Re: NSGraphicsContext restore crashes my xtension
  • Previous by thread: Re: NSPopupButton and bindings to NSArrayController
  • Next by thread: Re: NSPopupButton and bindings to NSArrayController
  • Index(es):
    • Date
    • Thread