• 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: Newbie question: forcing data format during saveDocumentTo:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question: forcing data format during saveDocumentTo:


  • Subject: Re: Newbie question: forcing data format during saveDocumentTo:
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 31 Aug 2003 02:22:48 -0400

On Aug 29, 2003, at 7:03 PM, Jerry wrote:

While I can work around this, I think I'm missing something. What
determines the document type sent to dataRepresentationOfType:?


You can specify the types of data you can save as "write-only" types.

You use the NSExportableAs to specify types that your documents can write, but not read in the Document types portion of the project's Info.plist (look at listing 2 on this page <http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/ Concepts/DocTypePList.html#//apple_ref/doc/uid/20000024>

Read <http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/ Tasks/FAQ.html> which discusses a bunch of relevant issues to this.

Also, the Sketch example uses the NSExportableAs key to export IFF and EPS images. So you might want to look there.

You can only "export" when you do a Save-as... and these additional types will show up in the panel then.
_______________________________________________
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.
References: 
 >Newbie question: forcing data format during saveDocumentTo: (From: Jerry <email@hidden>)

  • Prev by Date: Logging entry/exit into methods &/|| functions
  • Next by Date: Re: C again
  • Previous by thread: Newbie question: forcing data format during saveDocumentTo:
  • Next by thread: ATSUI in NSView
  • Index(es):
    • Date
    • Thread