Re: Best Practices for Associating a File Extension With a File in XCode 4?
Re: Best Practices for Associating a File Extension With a File in XCode 4?
- Subject: Re: Best Practices for Associating a File Extension With a File in XCode 4?
- From: Quincey Morris <email@hidden>
- Date: Sat, 03 Sep 2011 15:33:22 -0700
On Sep 3, 2011, at 15:21 , Vik Rubenfeld wrote:
> I went to the XCode App Properties panel and added an Exported UTI with file extension of "CAQuickLook". However, saving the document, still does not append a file extension to the file name.
>
> What am I missing?
You're not missing anything. Saving a document does not append a file extension to the file name.
You must provide the full file name, which includes the extension. Typically, it gets the correct extension because the user is presented with a Save panel, and *that* returns a file name to you with a suitable extension in place already.
The Save panel gets the list of suitable extensions (and the default extension within that list) from the document types that you've set up for the app in Xcode.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden