• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: fileWrapperRepresentationOfType: is not called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >fileWrapperRepresentationOfType: is not called (From: "Peter Karlsson" <email@hidden>)
 >Re: fileWrapperRepresentationOfType: is not called (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: fileWrapperRepresentationOfType: is not called
  • Next by Date: Re: Boggled By Bindings
  • Previous by thread: Re: fileWrapperRepresentationOfType: is not called
  • Next by thread: RE: Re: fileWrapperRepresentationOfType: is not called
  • Index(es):
    • Date
    • Thread