O'Reilly logo

Beginning Mac OS® X Programming by Drew McCormack, Michael Trent

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required