Re: fileWrapperRepresentationOfType: is not called
Re: fileWrapperRepresentationOfType: is not called
- Subject: Re: fileWrapperRepresentationOfType: is not called
- From: Sherm Pendley <email@hidden>
- Date: Mon, 4 Oct 2004 05:40:38 -0400
On Oct 4, 2004, at 4:50 AM, Peter Karlsson wrote:
fileWrapperRepresentationOfType: and
loadFileWrapperRepresentation:ofType:
is located in MyDocument.m and writeToFile:ofType: is located in my
MyController.m.
writeToFile:ofType should be in your document class, MyDocument. And
you only need one of these two methods, not both of them.
I think this is the reason they don't get called. What can I do about
it?
Like I said privately - it's not getting called because your app wasn't
created as a document-based app. But I don't know how to retrofit
NSDocument support onto an app that wasn't created that way to begin
with.
Anyone know how to retrofit NSDocument support?
sherm--
_______________________________________________
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