I bound NSComboBox's value to Item.arrangedObjects.kind, and the console logs this when I try to modify the kind in my app: *** -[NSCFString managedObjectContext]: unrecognized selector sent to instance 0x19a410

One suggestion I've received is to subclass it.  Any further ideas?

FROM : Jerry Krinock
DATE : Thu Feb 26 14:25:18 2009

On 2009 Feb 25, at 17:08, Walker Argendeli wrote:

> With an NSPopUpButton, you can bind content to Kind.arrangedObjects,
> content values to Kind.arrangedObjects.title, and selected object to
> Item.kind.  I want the functionality of an NSComboBox, however,
> which only has content and content values.  There's no selected
> object.  What could I bind to to get this working?


Possibly the 'value' binding.

Also, add the Cocoa Bindings Reference to your bookmarks:

http://developer.apple.com/documentation/Cocoa/Reference/CocoaBindingsRef/BindingsText/NSComboBox.html#/
/apple_ref/doc/uid/NSComboBox-DontLinkElementID_779
- Walker Argendeli

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to