Bindings for NSComboBox?
Bindings for NSComboBox?
- Subject: Bindings for NSComboBox?
- From: "David Springer" <email@hidden>
- Date: Mon, 31 Mar 2008 14:44:31 -0600
All,
I'm having trouble setting up the bindings for my NSComboBox. I bind
the NSComboBox's content to NSArrayController's arrangedObjects. This
works fine.
Now, I want to add to the content array when you enter a new string
into the combo box. Say, for example, I start with an array of @"file
1", @"file 2", @"file 3". Then, in the combo box, I enter "file foo".
I want to add this string to the content array, but I am at a loss as
to how to set up the bindings to do this. Do I bind NSComboBox's
value to something? My experiments in doing this so far are failing.
Help?
- Dave.S
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden