Skip navigation.
 
mlRe: Interface Builder (How to list an object instance in "Bind to" popup menu?)
FROM : mmalcolm crawford
DATE : Tue Dec 21 23:04:46 2004

On Dec 21, 2004, at 1:49 PM, Jeremy French wrote:

> How do I get a model class to appear in the "Bind to" popup menu? This
> is the popup menu labeled "Bind to", found In the bindings info panel
> in Interface Builder.
>

You can currently only bind to File's Owner, Shared User Defaults, and
NS*Controller instances.  Other bindings you must establish
programmatically.

> I would like to bind the value property of a NSSlider instance to a
> property in Dot.
>

If Dot is your model class, then you should almost certainly add an
NSObjectController to your interface and bind to that instead.  They
you can set the 'content' of the controller to the Dot instance.  You
will also, then, avoid having to establish the binding
programmatically.

mmalc

Related mailsAuthorDate
mlInterface Builder (How to list an object instance in "Bind to" popup menu?) Jeremy French Dec 21, 22:49
mlRe: Interface Builder (How to list an object instance in "Bind to" popup menu?) James Dessart Dec 21, 22:56
mlRe: Interface Builder (How to list an object instance in "Bind to" popup menu?) mmalcolm crawford Dec 21, 23:04