Re: Document based CoreData app and global context
Re: Document based CoreData app and global context
- Subject: Re: Document based CoreData app and global context
- From: John Timmer <email@hidden>
- Date: Mon, 16 May 2005 10:42:45 -0400
This is less a Core Data question than an NSDocument one. The shared
NSDocumentController instance of your app has a "documents" method that
returns an array of all documents. You can use those to figure out what all
your managed object contexts are, but based on your description, you don't
actually need to know those, just what the documents' name/file is.
JT
> Yes, another CoreData question, and I did not find an answer to
> this one in the archives.
>
> What I want to do is pretty simple :
>
> Manage my documents with Core Data Document Based application
> template, and use bindings in a global window (in the MainMenu nib)
> to list all opened documents.
> As I understand, I get one context by document, but is there a
> way to use those contexts in my application to list each one's
> properties ?
> Sorry If I'm not clear, but CD and Bindings still confuse me :-/
_______________________________________________
This mind intentionally left blank
_______________________________________________
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