• 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
Re: CoreData to-many relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData to-many relationships


  • Subject: Re: CoreData to-many relationships
  • From: Scott Stevenson <email@hidden>
  • Date: Sat, 21 May 2005 11:04:00 -0700


On May 21, 2005, at 10:58 AM, Scott Stevenson wrote:

Now, in IB, I'm trying to set things up similar to Mail.app. I have a table of mailboxes. I also have a table of messages. My mailboxes controller is bound to the AppDelegate/ managedObjectContext, as is mailboxes.

Bind the message controller's contentSet to mailbox controller -> selection.mailboxes, but keep the managedObjectContext as you have it now.


Sorry, that should be selection.messages:


Mailbox controller:

    managedObjectContext -> AppDelegate, managedObjectContext

Messages controller:

    managedObjectContext -> AppDelegate, managedObjectContext
    contentSet = Mailbox Controller, selection.messages


- Scott

--
http://treehouseideas.com/
http://theocacao.com/ [blog]


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: CoreData to-many relationships
      • From: mmalcolm crawford <email@hidden>
References: 
 >CoreData to-many relationships (From: August Trometer <email@hidden>)
 >Re: CoreData to-many relationships (From: Scott Stevenson <email@hidden>)

  • Prev by Date: Re: CoreData to-many relationships
  • Next by Date: Re: CoreData to-many relationships
  • Previous by thread: Re: CoreData to-many relationships
  • Next by thread: Re: CoreData to-many relationships
  • Index(es):
    • Date
    • Thread