On May 28, 2008, at 00:43, Rick Mann wrote:

I also want to display some data in the detail view that is global to the document. What's the best/easiest way to add that information to my document and make it available to a text field via bindings? Do I need to create additional CoreData schema? The thing is, there should only ever be one of this global data, not many rows in a table.

You may also want to look at:

http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/04_Department/chapter_5_section_1.html#/ /apple_ref/doc/uid/TP40002832-SW1

which talks about something similar. Note particularly the section "Adopting the Mediator Pattern", which may allow you to avoid writing fetches, depending how this "global" data is used.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to