Re: UTI not identified correctly for some users.
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