Skip navigation.
 
mlRe: Getting app icon
FROM : Julian Cain
DATE : Fri Apr 01 21:57:54 2005

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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>

Related mailsAuthorDate
mlGetting app icon Mike R. Manzano Apr 1, 20:38
mlRe: Getting app icon Julian Cain Apr 1, 20:44
mlRe: Getting app icon Sherm Pendley Apr 1, 21:47
mlRe: Getting app icon Julian Cain Apr 1, 21:57