• 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: UTI not identified correctly for some users.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTI not identified correctly for some users.


  • Subject: Re: UTI not identified correctly for some users.
  • From: Mitchell Livingston <email@hidden>
  • Date: Thu, 11 Jun 2009 19:19:09 -0400

As a followup to this, it appears that the users having problems do have a different app set for this file type, so it's not recognizing my UTI name for NSOpenPanel's setRequiredType: and NSWorkspace's typeOfFile:... Is there a way around this besides specifying the file extension explicitly? Should this be reported to Apple?

Cheers,
Mitch

On Jun 11, 2009, at 6:46 PM, Mitchell Livingston wrote:

I have created an UTI in my app's Info.plist. For open panels, adding files, etc. I use this (or check [[[NSWorkspace sharedWorkspace] typeOfFile: file error: NULL] isEqualToString: ...]). This works fine for me, but this is failing for the proper file type for some users. Perhaps the system doesn't properly register the UTI for these users, or perhaps another app registers a different UTI name for the same file extension. Is there something I can do to get around this, besides not using UTI's?

Cheers,
Mitch

_______________________________________________

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: UTI not identified correctly for some users.
      • From: "Sean McBride" <email@hidden>
References: 
 >UTI not identified correctly for some users. (From: Mitchell Livingston <email@hidden>)

  • Prev by Date: Re: Passing References During Initialization / Nib Loading
  • Next by Date: Re: Passing References During Initialization / Nib Loading
  • Previous by thread: UTI not identified correctly for some users.
  • Next by thread: Re: UTI not identified correctly for some users.
  • Index(es):
    • Date
    • Thread