Re: complicated (I think) Binding
Re: complicated (I think) Binding
- Subject: Re: complicated (I think) Binding
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 11 Mar 2006 16:16:18 -0800
On Mar 11, 2006, at 4:00 PM, Mike Abdullah wrote:
From your solution, I have a question. You say to bind to
selectedValue to the popup button, but that it will give me the
result minus the extension. What if I were to bind to
selectedObject instead? (I am still trying to learn what these
various options are actually for!
Binding options are documented here:
<http://developer.apple.com/documentation/Cocoa/Reference/
CocoaBindingsRef/>
An example of a pop-up list using bindings is given here:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
(see "To-Dos").
I think the key point may be that I need a NSArrayController, I
hadn't really considered using one for this situation previously.
It's not clear why you would not consider the use of an array
controller to manage an array?
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