Speaker Deck

Enemy of the State

by Justin Spahr-Summers

Published April 4, 2014 in Programming

iOS and Mac apps rely heavily on state to change their presentation and respond to input—it's hard to imagine writing an app without the use of properties and variables. However, state is a huge source of needless complexity, and responsible for most of the easily avoidable bugs that users encounter.

This talk will explain what state is, detail exactly why it's so harmful, and offer ways to minimize and avoid state, making the apps we develop simpler and more reliable.