• 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: Document based CoreData app and global context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Document based CoreData app and global context (From: Yann Bizeul <email@hidden>)

  • Prev by Date: Re: OpenGL and Tiger
  • Next by Date: Re: OpenGL and Tiger
  • Previous by thread: Document based CoreData app and global context
  • Next by thread: Loading classes for use with NSClassFromString, how?
  • Index(es):
    • Date
    • Thread