On May 31, 2010, at 4:28 AM, julius wrote: > > On 31 May 2010, at 10:06, Jean-Daniel Dupas wrote: >>> >>> Can you perhaps tell me which UTI maps onto NSPlainTextDocumentType >> >> You would guess on kUTTypePlainText >> >>> and which onto NSMacSimpleTextDocumentType ....? >> >> In 3 major releases Apple didn't managed to declare UTI for modern file >> formats like sdef, >> so I doubt they defined an UTI for a dead file format like Simple Text. >> > > That's a relief. At least I now know that these mappings are undocumented. > But still does each one of us have to rediscover these by trial and error, > add it all together and that must make for thousands of hours lost repeating > the same thing over and over again. Reminds me of Einstein's definition of > insanity. >
Remember, that although creator codes are out, extensions *seem* to be recognized, and... being a BSD, there is still also the *magic number* for file types... (the magic file does get updated regularly)_______________________________________________ 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