I'm trying to write a small app as part of the learning process.
So far, this app consists of a controller class (myController) and a
subclassed NSView (myView).
When the app loads, I use the initWithFrame to populate an array of
[self bounds] size with random on/off values. Then in the -draw method,
I draw these to the view with bezierPath fillRect, I get a kind of
random starfield effect in the view.
In the viewDidEndLiveResize method, I recalculate the array and set
setNeedsDisplay. This is great - if I resize the app, I get a new and
bigger starfield. ...