Core Data bound to NSPopUpButton
Core Data bound to NSPopUpButton
- Subject: Core Data bound to NSPopUpButton
- From: Allan Rentcome <email@hidden>
- Date: Thu, 22 Feb 2007 19:45:01 -0600
Hi everyone,
I have a core data application. Within the interface I have two
NSPopupButtons. These are bound to two NSArrayControllers which in
turn are connected to my core data through the ManagedObjectContext.
One controller populates the content of one of the pop-up buttons
with entities and the other button is populated by the other
controller which has a contentSet based on the current selection in
the first controller ( there is a relationship between these two
entities). My problem is as follows:
1. When I change the selection in the first pop-up button I want to
change the content of the second pop-up button with the entities that
have a relationship with the selection in the first pop-up. However,
when I do not see any updates or changes in the second pop-up when I
change the selection in the first. I have successfully done this with
two NSTableViews but cannot get it to work with the two
NSPopupButtons. Besides the binding of the content parameters what
else do I need to bind?
I hope this explanation is clear!
Thanks in advance for any help.
Cheers
Allan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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