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

Re: setApplicationIconImage:


  • Subject: Re: setApplicationIconImage:
  • From: Rainer Brockerhoff <email@hidden>
  • Date: Sat, 24 Jan 2015 12:04:19 -0200

On 1/23/15 18:00, email@hidden wrote:
> Date: Fri, 23 Jan 2015 09:05:54 -0800
> From: Jens Alfke <email@hidden>
> To: "Rick C." <email@hidden>
> Cc: Cocoa Cocoa-Dev <email@hidden>
>
>> On Jan 23, 2015, at 1:53 AM, Rick C. <email@hidden> 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  <email@hidden>
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 (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


  • Prev by Date: Re: What's up with the Cocoa Text System?
  • Next by Date: Detecting Managed Object Property Change From Undo Redo
  • Previous by thread: Re: setApplicationIconImage:
  • Next by thread: What's up with the Cocoa Text System?
  • Index(es):
    • Date
    • Thread