On Dec 24, 2008, at 8:49 PM, christophe mckeon gonzalez de leon wrote:

i was trying to set up some initial document state by fetching on
the managedObjectContext from within my NSPersistentDocument
subclass' init method, but finally realized that the context does not
seem to be fully initialized yet.

init, or initWithType: error:?
You should be able to access the context within initWithType:error:

<http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/04_Department/chapter_5_section_2.html >

mmalc

_______________________________________________

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