Re: fileWrapperRepresentationOfType: is not called
Re: fileWrapperRepresentationOfType: is not called
- Subject: Re: fileWrapperRepresentationOfType: is not called
- From: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 4 Oct 2004 13:50:21 +0200
At 5:40 Uhr -0400 04.10.2004, Sherm Pendley wrote:
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?
I haven't tried this, but since it's the same class involved
(NSApplication), I think it should suffice to add the needed keys to
the plist to associate the file type with the document class, and to
have an NSDocument subclass of that name in your app.
Apart from that, he might have to hook up/add a few menu items,
though I think that the main menu is by default the same for
document/non-document apps.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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