• 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
movieFileTypes, imageFileTypes and Info.plist's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

movieFileTypes, imageFileTypes and Info.plist's


  • Subject: movieFileTypes, imageFileTypes and Info.plist's
  • From: Andrew Salamon <email@hidden>
  • Date: Thu, 16 Jul 2009 14:12:48 -0700

I'm using code something like this to build a list of file types that my application can read:

NSArray *movieTypes = [[QTMovie movieFileTypes:QTIncludeCommonTypes] retain];
NSArray *imageTypes = [[NSImage imageFileTypes] retain];
allTypes = [[imageTypes arrayByAddingObjectsFromArray:movieTypes] retain];


Since I'm using QuickTime and NSImage to convert all of those formats into my own internal format, my application can handle most files that QuickTime or NSImage can.

Because I'm using those image type lists in my open panel, users can open any of those filetypes from within my app. However, users can't drop image or movie files onto my application, or open them in my app using the Finder's 'Open With' menu item because my Info.plist file doesn't list all of them (or any of them, actually).

Are there any options for having the Finder recognize that my app can read any file QuickTime can? Or do I need to manually maintain a list of filetypes in my Info.plist?

Thanks!
Andrew


_______________________________________________

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: movieFileTypes, imageFileTypes and Info.plist's
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: Core Data debugging
  • Next by Date: iTunes COM interface for Windows; need the equivalent for iTunes on the Mac
  • Previous by thread: Re: Core Data debugging (Fritz Anderson)
  • Next by thread: Re: movieFileTypes, imageFileTypes and Info.plist's
  • Index(es):
    • Date
    • Thread