See http://krakendev.io/blog/the-right-way-to-write-a-singleton
This creates a new User
if necessary, or uses the existing one.
class User {
static let sharedInstance = User()
var name = "Bruce"
}
Usage:
User.sharedInstance.name = "Caitlyn"