tags:

views:

36

answers:

1

I'm new to creating GUI's, everything I've done up until this point is using the command line.

I'm trying to create a port of minesweeper to the macintosh, as an experiment, and I've got the CLI working, but I'm running into walls everywhere with the gui. The first thing it seems I have to do, however, is be able to tile n x m 'boxes' for grid - and I'm not sure how to do that. The information is ready to be handed to it, but I don't know where to do it, or how.

Also, if anyone has any recommendations for sites/Cocoa development books, feel free to drop them in here...

Thanks!

+3  A: 

In general you should go with controls that give you a grid layout. Cocoa gives you two choices:

Georg Fritzsche
I would use an NSMatrix of NSButtonCells in the bevel button style.
Peter Hosey