• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Where did the icon come from?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where did the icon come from?


  • Subject: Re: Where did the icon come from?
  • From: Eric Gorr <email@hidden>
  • Date: Fri, 16 Jul 2010 17:45:27 -0400

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



On Jul 16, 2010, at 5:34 PM, John Joyce wrote:

>
> On Jul 16, 2010, at 4:28 PM, Eric Gorr wrote:
>
>> Is there a unix tool to which I can pass a file and have it tell me where the icon for the file is coming from?
>>
>> Thank you._______________________________________________
> You can build one fairly quickly.
> Here is the salient part from NSApplication Class Reference
>
> Method:
>
> applicationIconImage
> Returns the image used for the receiver’s icon.
>
> - (NSImage *)applicationIconImage
>
> Return Value
> An image containing the application’s icon.
>
> Availability
> 	• Available in Mac OS X v10.0 and later.
> See Also
> 	• – setApplicationIconImage:
> Declared In
> NSApplication.h
>

_______________________________________________

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

  • Follow-Ups:
    • Re: Where did the icon come from?
      • From: James Walker <email@hidden>
References: 
 >Where did the icon come from? (From: Eric Gorr <email@hidden>)
 >Re: Where did the icon come from? (From: John Joyce <email@hidden>)

  • Prev by Date: Re: Where did the icon come from?
  • Next by Date: Re: Where did the icon come from?
  • Previous by thread: Re: Where did the icon come from?
  • Next by thread: Re: Where did the icon come from?
  • Index(es):
    • Date
    • Thread