Skip navigation.
 
mlRe: Order of instantiation within a NIB
FROM : mmalcolm crawford
DATE : Wed Apr 13 01:42:55 2005

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

Related mailsAuthorDate
mlOrder of instantiation within a NIB John Brownlow Apr 11, 19:36
mlRe: Order of instantiation within a NIB Scott Stevenson Apr 11, 20:02
mlRe: Order of instantiation within a NIB John C. Randolph Apr 11, 22:48
mlRe: Order of instantiation within a NIB John Brownlow Apr 12, 00:20
mlRe: Order of instantiation within a NIB John Brownlow Apr 12, 16:11
mlRe: Order of instantiation within a NIB mmalcolm crawford Apr 12, 16:46
mlRe: Order of instantiation within a NIB John Brownlow Apr 12, 20:46
mlRe: Order of instantiation within a NIB mmalcolm crawford Apr 12, 23:51
mlRe: Order of instantiation within a NIB John Brownlow Apr 13, 00:02
mlRe: Order of instantiation within a NIB mmalcolm crawford Apr 13, 00:11
mlRe: Order of instantiation within a NIB John Brownlow Apr 13, 00:48
mlRe: Order of instantiation within a NIB mmalcolm crawford Apr 13, 01:42