• 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: Generic application icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generic application icon


  • Subject: Re: Generic application icon
  • From: Dan Waylonis <email@hidden>
  • Date: Tue, 28 Oct 2003 15:06:42 -0800

On Oct 28, 2003, at 10:02 AM, Chad Armstrong wrote:

> I've searched around a bit, and found some interesting things hidden
> inside my computer, but I cannot seem to find the icns file for the
> generic application icon. Does anyone know where this icon is saved?
> Thanks.

Hi Chad,

I think that the actual icon is buried within the Finder, but you could
do something like:

NSImage *image = [[NSWorkspace sharedWorkspace]
iconForFileType:@".app"];
NSData *tiff = [image TIFFRepresentation];
NSString *path = @"/tmp/AppIcon.tiff";

[tiff writeToFile:path atomically:YES];

Dan
_________________________________________________
Dan Waylonis email@hidden
Software Engineer http://www.nekotech.com
nekotech SOFTWARE 650.964.2490 (O)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Generic application icon
      • From: "Alastair J.Houghton" <email@hidden>
References: 
 >Generic application icon (From: Chad Armstrong <email@hidden>)

  • Prev by Date: Re: XCode and Recent Projects limit still exist?
  • Next by Date: Re: enormous problems with xcode
  • Previous by thread: Generic application icon
  • Next by thread: Re: Generic application icon
  • Index(es):
    • Date
    • Thread