• 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: "Rick C." <email@hidden>
  • Date: Fri, 23 Jan 2015 17:53:19 +0800

Thanks everyone for the help.  Bit of effort for something simple though.  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…


> On Jan 23, 2015, at 11:09 AM, Charles Srstka <email@hidden> wrote:
>
> I think you should be able to do what you want using a Dock Tile Plugin:
>
> https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/CreatingaDockTilePlug-in/CreatingaDockTilePlug-in.html <https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/CreatingaDockTilePlug-in/CreatingaDockTilePlug-in.html>
>
> Definitely don’t modify your app’s own bundle. Not only is that evil, but it’ll invalidate your code signature.
>
> Charles
>
>> On Jan 21, 2015, at 11:46 PM, Rick C. <email@hidden <mailto:email@hidden>> wrote:
>>
>> Hi,
>>
>> I’m using NSApp setApplicationIconImage: to set a different icon for Yosemite.  Problem is the standard icon appears for a second then it changes to the Yosemite one.  Same when quitting the app.  Is there a better way to do this?
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden <mailto: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 <http://lists.apple.com/>
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>

_______________________________________________

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


  • Follow-Ups:
    • Re: setApplicationIconImage:
      • From: Jens Alfke <email@hidden>
    • Re: setApplicationIconImage:
      • From: Charles Jenkins <email@hidden>
References: 
 >setApplicationIconImage: (From: "Rick C." <email@hidden>)
 >Re: setApplicationIconImage: (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: Who is launching my helper?
  • Next by Date: Re: setApplicationIconImage:
  • Previous by thread: Re: setApplicationIconImage:
  • Next by thread: Re: setApplicationIconImage:
  • Index(es):
    • Date
    • Thread