Exercises

  1. Take the Cocoa plug-in example and include it in a GUI program, putting the plug-in name and the message into an NSTableView. Write some additional plug-ins.

  2. otool has a lot of options and additional flags. Write a Cocoa front-end so you can easily play with the options. You can use NSTask, covered in Chapter 19: Using NSTask to actually run otool from your application.

Get Advanced Mac OS X Programming: The Big Nerd Ranch 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.