Re: CoreData/NSPersistentDocument initialization
Re: CoreData/NSPersistentDocument initialization
- Subject: Re: CoreData/NSPersistentDocument initialization
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 3 Sep 2005 23:01:54 -0700
On Sep 3, 2005, at 6:33 PM, Paul Forgey wrote:
I am trying to initialize my document data for new documents only.
Traditionally, this has been done in the init: method for
NSDocument which was called only for new, empty untitled
documents. It appears NSPersistentDocument's init method is always
called for both new and existing documents. I can't find any way
to differentiate the two situations. What am I missing?
<http://developer.apple.com/documentation/Cocoa/Conceptual/
NSPersistentDocumentTutorial/04_Department/chapter_5_section_2.html#//
apple_ref/doc/uid/TP40001799-CH223-DontLinkElementID_22>
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSDocument.html#//apple_ref/doc/
uid/20000008-BBCDJDAI>
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