• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bindings and core data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Bindings and core data
      • From: Shlok Datye <email@hidden>
  • Prev by Date: Re: Traversing an NSXML subtree
  • Next by Date: Re: Abstract class with single subclass
  • Previous by thread: Re: stripping question
  • Next by thread: Re: Bindings and core data
  • Index(es):
    • Date
    • Thread