• 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: Interface Builder (How to list an object instance in "Bind to" popup menu?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interface Builder (How to list an object instance in "Bind to" popup menu?)


  • Subject: Re: Interface Builder (How to list an object instance in "Bind to" popup menu?)
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 21 Dec 2004 14:04:46 -0800


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
_______________________________________________
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: 
 >Interface Builder (How to list an object instance in "Bind to" popup menu?) (From: Jeremy French <email@hidden>)

  • Prev by Date: Re: To Draw fine rectangle
  • Next by Date: Strange NSTextField behaviour
  • Previous by thread: Re: Interface Builder (How to list an object instance in "Bind to" popup menu?)
  • Next by thread: Strange NSTextField behaviour
  • Index(es):
    • Date
    • Thread