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