Re: Where did the icon come from?
Re: Where did the icon come from?
- Subject: Re: Where did the icon come from?
- From: James Walker <email@hidden>
- Date: Fri, 16 Jul 2010 15:31:31 -0700
On 7/16/2010 2:45 PM, Eric Gorr wrote:
Thanks, but I wasn't specific enough.
What I am looking for is something like this:
$WhoProvidedIcon /Path/To/file.myex
UTI: com.myapplication.document
PLIST: /path/to/myapplication.app/Contents/Info.plist
ICON: /path/to/myapplication.app/Contents/Resources/BaseDoc.icns
Perhaps you could get some of this information by first using
UTTypeCreateAllIdentifiersForTag to get the possible UTIs for the
extension, and then passing each UTI to UTTypeCopyDeclaringBundleURL and
UTTypeCopyDeclaration.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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