XcodesApp icon indicating copy to clipboard operation
XcodesApp copied to clipboard

Add overlay to Xcode app icon to indicate version

Open alex-taffe opened this issue 3 years ago • 2 comments

Tell us how we can improve Xcodes I am routinely swapping between versions of Xcode. You can obviously hover to see the version name, but being able to quickly at a glance see the version in the dock would be great. image Is your feature request related to a problem? Please describe. It is not What would you like to see? How would you like it to work? I would like to see an option added that allows Xcodes to change the app icon on install with an overlay of the version. For example: Xcode image My particular example is probably a bit too small and unreadable on anything but a retina screen (should be a larger overlay that covers the icon). However, it would still be extremely helpful to see versioning at a glance

alex-taffe avatar Oct 19 '22 14:10 alex-taffe

cool idea! -- is there a programmatic way of changing app icons I wonder..?

cschep avatar Nov 22 '22 17:11 cschep

I think this should work

[[NSWorkspace sharedWorkspace] setIcon:anImage forFile:pathToXcode options:0];

https://developer.apple.com/documentation/appkit/nsworkspace/1529882-seticon

alex-taffe avatar Nov 22 '22 19:11 alex-taffe