Re: NSPopupButton Bindings Content Objects is disabled
Re: NSPopupButton Bindings Content Objects is disabled
- Subject: Re: NSPopupButton Bindings Content Objects is disabled
- From: Rick Mann <email@hidden>
- Date: Mon, 15 Sep 2008 19:24:52 -0700
On Sep 15, 2008, at 19:16:04, Rick Mann wrote:
According to the docs:
http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/Articles/ManagingPopUpItems.html
You typically bind the contentObjects value of the button to the
arrangedObjects of an array controller, and the contentValuesvalue
of the button to the same path but adding as the final path
component the key of the attribute you want to use as the button
title.
I'm supposed to bind the contentObjects of the popup button, but it
always seems to be disabled. The other bindable values are enabled,
but not that one.
This is one example of similar frustrations I've found with IB3.
What's up with that, and how do I get it enabled so I can set it?
Of course, no sooner do I sent the email than I figure it out. I need
to bind the content value first. I find it very counter-intuitive that
I have to bind content in addition to contentObjects and contentValues.
--
Rick
_______________________________________________
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