Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 630 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 630 Bytes

Conway's Game of Life in Swift

An implementation of Conway's Game of Life as a Swift Cocoa app. Written by Adam Preble, June 25-27 2014, for Big Nerd Ranch's Swift Book Club.

Demonstrates use of template classes for the GameBoard class, which offer some convenient opportunities for code reuse. Specifically, see the method GameOfLife.rewriteBoard(), which uses Bool and Int varieties of GameBoard.

Also demonstrates unit testing, and in particular measureBlock, which was instrumental in addressing performance issues with the original design.