O'Reilly logo

Advanced Mac OS X Programming: The Big Nerd Ranch Guide by Mark Dalrymple

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

MandelOpper

The Mandelbrot set is a favorite graphical pastime amongst many programmers. It is a fractal geometry construct that can generate really cool images. Generating the Mandelbrot set is a computationally intensive process, which lends itself to parallel processing. The MandelOpper application will calculate a Mandelbrot set and display it in a window, using instances of a simple-lifetime NSOperation class to do the actual calculation (Figure 21.1).

Figure 21.1  MandelOpper screen being filled in

MandelOpper screen being filled in

Figure 21.2 shows the general class layout. MandelOpperAppDelegate is your typical Cocoa application controller, coordinating the user interface ...

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