Is NSDocument read outside init?
Is NSDocument read outside init?
- Subject: Is NSDocument read outside init?
- From: Allan Odgaard <email@hidden>
- Date: Thu, 15 Apr 2004 03:55:26 +0200
Since I override initWithContentsOfFile:ofType: in an NSDocument
subclass, I was curious to wether or not I need to implement any of the
read methods?
It would seem to me that these are only sent from the initializer (and
revertToSavedFromFile:ofType:), is this assumption safe?
Likewise, are any of the URL methods used by default? both NSDocument
and NSDocumentController can/does deal with URLs, but the various
application delegate methods can only deal with filenames, which seems
to be a bit of a show stopper -- I did once try to send a non-file URL
to noteNewRecentDocumentURL:, but that did not work very well.
** Cocoa FAQ: <
http://www.alastairs-place.net/cocoa/faq.txt> **
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.