Re: Please help. At wit's end binding NSPopupButtonCell selection
Re: Please help. At wit's end binding NSPopupButtonCell selection
- Subject: Re: Please help. At wit's end binding NSPopupButtonCell selection
- From: Ken Tozier <email@hidden>
- Date: Tue, 4 Nov 2008 07:27:34 -0500
On Nov 4, 2008, at 7:07 AM, Cathy Shive wrote:
As for whether or not it's possible to do this with bindings, I'm
not 100% sure...
When the table is first displayed, are the proper selections
displayed for each row?
Yes and no. The popups have all the correct choices in them but all
pages in the project group are set to the correct choice for the first
page.
Does this problem only come up when you change the selection
selection in one of the pop up cells?
Yes. When I select a new master page option, every other page in the
group instantly changes to the same selection.
The reason I think this might be possible through bindings, is that
other bound fields in the table have values specific to their
associated page. For example, pages also have a status string,
indicating whether stories need trims, are missing photos etc and
these are populated correctly with the following binding
[pageController bind: @"contentArray" toObject: inProject withKeyPath:
@"childNodes" options: nil];
[statusColumn bind: @"value" toObject: pageController withKeyPath:
@"arrangedObjects.status" options: nil];
_______________________________________________
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