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

Get Advanced Mac OS X Programming: The Big Nerd Ranch Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.