• 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: 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
  • Follow-Ups:
    • Re: fileWrapperRepresentationOfType: is not called
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >fileWrapperRepresentationOfType: is not called (From: "Peter Karlsson" <email@hidden>)

  • Prev by Date: Re: How to get rid of an NSWindowController? Or: Who is retaining my window controllers?
  • Next by Date: Re: fileWrapperRepresentationOfType: is not called
  • Previous by thread: Re: fileWrapperRepresentationOfType: is not called
  • Next by thread: Re: fileWrapperRepresentationOfType: is not called
  • Index(es):
    • Date
    • Thread