Re: Core Data, Bindings, and default relationships
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