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

Re: Getting app icon


  • Subject: Re: Getting app icon
  • From: Julian Cain <email@hidden>
  • Date: Fri, 1 Apr 2005 14:57:54 -0500

or even shorter... NSImage *theIcon = [NSApp applicationIconImage];

On Apr 1, 2005, at 2:47 PM, Sherm Pendley wrote:

On Apr 1, 2005, at 1:38 PM, Mike R. Manzano wrote:

Anyone know how to get an application's current icon? I'd like to fetch my own application's current icon whether it be something I assigned, or the default one.

NSImage *theIcon = [[NSApplication sharedApplication] applicationIconImage];

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Getting app icon (From: "Mike R. Manzano" <email@hidden>)
 >Re: Getting app icon (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Getting app icon
  • Next by Date: Re: bindings...
  • Previous by thread: Re: Getting app icon
  • Next by thread: Run Apple Script
  • Index(es):
    • Date
    • Thread