Interface Builder (How to list an object instance in "Bind to" popup menu?)
Interface Builder (How to list an object instance in "Bind to" popup menu?)
- Subject: Interface Builder (How to list an object instance in "Bind to" popup menu?)
- From: Jeremy French <email@hidden>
- Date: Tue, 21 Dec 2004 16:49:42 -0500
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?
_______________________________________________
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