| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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.
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.