• 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: Core Data, Bindings, and default relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data, Bindings, and default relationships


  • Subject: Re: Core Data, Bindings, and default relationships
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 21 Jun 2005 03:40:06 -0700


On Jun 20, 2005, at 11:27 PM, Chris Hanson wrote:

Bind ItemsController's contentSet to PurchasesController's selection.items. This means that instead of handling all Items, ItemsController handles the Items in the "items" relationship of the currently-selected Purchase. So adding an Item via ItemsController will actually add it to that relationship.


See, for example <http://developer.apple.com/documentation/Cocoa/ Conceptual/NSPersistentDocumentTutorial/04_Department/ chapter_5_section_4.html#//apple_ref/doc/uid/TP40001799-CH223- DontLinkElementID_28> (this illustrates an object controller for the source, but the principle is the same).


mmalc

_______________________________________________
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


References: 
 >Core Data, Bindings, and default relationships (From: Christopher Frederick <email@hidden>)
 >Re: Core Data, Bindings, and default relationships (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Xcode 2.1 debugging
  • Next by Date: Re: How to hook up controllers to a hand generated OM?
  • Previous by thread: Re: Core Data, Bindings, and default relationships
  • Next by thread: Re: Core Data, Bindings, and default relationships
  • Index(es):
    • Date
    • Thread