Adding the Icons
OS X icons are a more complex affair than in iOS. iOS has only a few stereotyped presentations of application icons, and you need only prepare a few (for a given value of “few”) PNGs for the purpose. Xcode 5 makes it easier than before to organize iOS icon sets. We went through this in the “Image Sets” section of Chapter 13, “Adding Table Cells.”
The Application Icon
OS X icons have to adapt to more presentations. The Finder presents application icons in icon arrays (which the user can scale arbitrarily) and Cover Flow (in which icons have to scale as the user resizes the graphic view). The solution is the .icns
icon-image file. An .icns
carries bitmaps for the icon in point dimensions of 16, 32, 128, 256, and 512 on a side; ...
Get Xcode 5 Start to Finish: iOS and OS X Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.