• 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: mmalcolm crawford <email@hidden>
  • Date: Tue, 12 Apr 2005 16:42:55 -0700


On Apr 12, 2005, at 3:48 PM, John Brownlow wrote:

Sorry, I don't understand. [selectedObjects is] there in the documentation for NSArrayController which is advertised as 'bindings compatible', and it uses KVO/KVC compliant method signatures. It may not be exposed in Interface Builder, but why on earth can't I bind to it?


For whatever reason it hasn't been exposed as a binding. You may well be able to bind to it, and things may work correctly but it's not "officially supported" -- for the "official" bindings see:


<http://developer.apple.com/documentation/Cocoa/Reference/ CocoaBindingsRef/BindingsText/NSArrayController.html>

In your case I suspect that you don't really want to "bind" anyway (i.e. you're not wanting to keep two variables synchronised -- not the sole purpose of bindings, certainly, but the typical goal)? You just want to be informed if selectedObjects changes? It might be more appropriate simply to observe the selectedObjects property of the array controller (I believe it's KVO compliant)...

mmalc

_______________________________________________
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


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>)
 >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>)

  • Prev by Date: Re: Detecting Double Byte Input
  • Next by Date: Re: NSBezierPath: angle of a line
  • Previous by thread: Re: Order of instantiation within a NIB
  • Next by thread: Re: Order of instantiation within a NIB
  • Index(es):
    • Date
    • Thread