Skip navigation.
 
mlInterface Builder (How to list an object instance in "Bind to" popup menu?)
FROM : Jeremy French
DATE : Tue Dec 21 22:49:42 2004

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.

I have a model class (named "Dot") that I added to Interface Builder,
by dragging its implementation file (i.e., ".h") into the Nib window.
The class appears in the "Classes" tab of the Nib window. I
instantiated an object instance of Dot, which appears in the Instances
tab of the Nib window.

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

I select the NSSlider instance and open the Bindings panel of the Info
window. However, "Dot" doesn't appear in the "Bind to" popup menu: I
only see two items: 1) "Shared User Defaults", and 2) "File's Owner (NS
Application)".

How do I get "Dot" listed in the popup menu?

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