A great, in depth post on dealing with NSUserDefaults in Swift. This allows for relatively easy persistence of the state of your app over restarts.

Comment