• 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: Order of instantiation within a NIB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Order of instantiation within a NIB


  • Subject: Re: Order of instantiation within a NIB
  • From: John Brownlow <email@hidden>
  • Date: Tue, 12 Apr 2005 18:02:59 -0400

right. there you are. there are circumstances when you know which object you want to be selected but not its index in the array. This is likely to be rather a common situation after April 29. I suppose there are reasons for not exposing 'selectedObjects' but it's annoying. In my case I wanted to directly bind a constantly changing attribute of the text at the insertion point to the visible selection in a table, without having to delve into the table and find the index for every iteration.

On Apr 12, 2005, at 5:51 PM, mmalcolm crawford wrote:

On Apr 12, 2005, at 11:46 AM, John Brownlow wrote:

This is from memory, but I think I was trying to bind the 'selectedObjects' key of an NSArrayController, which for some reason does not appear to be exposed in Interface Builder. Anyway it was something like that. There is at least one of the selection keys which is annoyingly not exposed.

'selectedObjects' isn't an exposed binding for an array controller. The "official" exposed bindings are (IIRC):

    editable,
    contentArray,
    contentArrayForMultipleSelection,
    contentObject,
    sortDescriptors,
    selectionIndexes

mmalc

-- John Brownlow Deep Fried Films, Inc

http://www.johnbrownlow.com
http://www.pinkheadedbug.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Order of instantiation within a NIB
      • From: mmalcolm crawford <email@hidden>
References: 
 >Order of instantiation within a NIB (From: John Brownlow <email@hidden>)
 >Re: Order of instantiation within a NIB (From: Scott Stevenson <email@hidden>)
 >Re: Order of instantiation within a NIB (From: John Brownlow <email@hidden>)
 >Re: Order of instantiation within a NIB (From: mmalcolm crawford <email@hidden>)
 >Re: Order of instantiation within a NIB (From: John Brownlow <email@hidden>)
 >Re: Order of instantiation within a NIB (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Order of instantiation within a NIB
  • Next by Date: Re: Tiger development Panther deployment
  • Previous by thread: Re: Order of instantiation within a NIB
  • Next by thread: Re: Order of instantiation within a NIB
  • Index(es):
    • Date
    • Thread