On 10 Jun 2014, at 21:21, Seth Willits <sli...@araelium.com> wrote: > - (NSString *)typeForContentsOfURL:(NSURL *)url error:(NSError **)outError; > { > if ([url.pathExtension.lowercaseString isEqual:@"sql"]) { > return @"my.uti.type"; > } > > return [super typeForContentsOfURL:url error:outError]; > }
I suppose that this works should be mentioned in your bug. It means Apple could easily fix it by making the default implementation take a first stab at looking up the UTI from your Info.plist instead of from Launch Services. Cheers, -- Uli Kusterer “The Witnesses of TeachText are everywhere...” http://zathras.de _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com