Drawing board/grid with Cocoa
I'm writing a small boardgame for Mac OS X using Cocoa. I the actual grid is drawn as follows: - (void)drawRect:(NSRect)rect { for (int x=0; x < GRIDSIZE; x++) { for (int y=0; y <