• 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: Best Practices for Associating a File Extension With a File in XCode 4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Best Practices for Associating a File Extension With a File in XCode 4?
      • From: Vik Rubenfeld <email@hidden>
References: 
 >Re: Best Practices for Associating a File Extension With a File in XCode 4? (From: Lee Ann Rucker <email@hidden>)
 >Re: Best Practices for Associating a File Extension With a File in XCode 4? (From: Vik Rubenfeld <email@hidden>)

  • Prev by Date: Re: Best Practices for Associating a File Extension With a File in XCode 4?
  • Next by Date: Re: Best Practices for Associating a File Extension With a File in XCode 4?
  • Previous by thread: Re: Best Practices for Associating a File Extension With a File in XCode 4?
  • Next by thread: Re: Best Practices for Associating a File Extension With a File in XCode 4?
  • Index(es):
    • Date
    • Thread