Re: setApplicationIconImage:
Re: setApplicationIconImage:
- Subject: Re: setApplicationIconImage:
- From: Charles Srstka <email@hidden>
- Date: Thu, 22 Jan 2015 21:09:40 -0600
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> 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)
>
> 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
_______________________________________________
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