13.4. Exercise

  1. Update the Searcher application so that it makes use of the Cocoa class NSTask, instead of the C function system. Make sure the Cocoa application's user interface remains responsive if the find command must search through many files. (Hint: The script should be allowed to run in the background. Do not call a blocking function, such as waitUntilExit.)

Get Beginning Mac OS® X Programming 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.