Exercises

  1. Change the name of the nib name in the showAboutPanel: method from “AboutPanel.nib” to “No-such-nib.nib”, but do not change the name of the actual nib file. Recompile and run your program. What happens when you attempt to display the About box? Why?

  2. Revisit IconComposer and determine the meaning of the different icon resolutions and bit masks.

  3. Investigate the .icns files in the /Applications and /Developer/Examples/AppKit folders. Use the Terminal or Finder’s Go Go to Folder command to open folders such as /Application/iTunes.app/Contents.

Get Building Cocoa Applications: A Step by Step Guide 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.