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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to