On 1/23/15 18:00, cocoa-dev-requ...@lists.apple.com wrote:
> Date: Fri, 23 Jan 2015 09:05:54 -0800
> From: Jens Alfke <j...@mooseyard.com>
> To: "Rick C." <rickcort...@gmail.com>
> Cc: Cocoa Cocoa-Dev <cocoa-dev@lists.apple.com>
> 
>> On Jan 23, 2015, at 1:53 AM, Rick C. <rickcort...@gmail.com> wrote:
>>
>> Unfortunately setApplicationIconImage: works great it’s just I
>> can’t find a method to put it in that will cause the change before
>> the app launches.  It always takes place a second after the app
>> launches…
> 
> What you're asking for is impossible, because
> -setApplicationIconImage is a TEMPORARY change to the icon that only
> takes effect when the method is called, and goes away when the app
> quits. Read that word again: TEMPORARY.

Just to complement this for the list archives, setApplicationIconImage:
changes the _process_ icon in the Dock, not the _bundle_ icon in the
application itself.

The method should, perhaps, be called "setProcessIconImage:" :-)

-- 
Rainer Brockerhoff  <rai...@brockerhoff.net>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
http://brockerhoff.net/blog/

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to