Bindings and core data
Bindings and core data
- Subject: Bindings and core data
- From: Michael Süssner <email@hidden>
- Date: Wed, 27 May 2009 23:18:58 +0200
Hi
I am experimenting with core data and bindings.
I have a core data table with a one to-many relationship named
"participants"
I have in the same view another table displaying a list of
participants. I want to add additional participants using a Popuplist
with contacts and a participant is related to contacts.
So, when I have selected a contact entry, I press a button which calls
method of the PopUpMenu Controller Object, which reads the selected
Object by
vContact = [[self selectedObjects] objectAtIndex:0];
I have defined in the PopupMenu Controller Object
IBOutlet NSMutableSet *selParticipants;
which I have bound to the table.selection.participants
(I do not understand that IB complains that it is not NSMutableSet)
Then I want to add the vContact to the selection.participants using
addObjects but the table of participants displays invalid values.
I am not sure what is the mistake.
Michael
_______________________________________________
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