The commonly accepted Singleton pattern for Swift uses a Struct inside a class variable/type property.
Instead of:
class MySingleton { class var s
from Swift 1.2 & up you should use - see Apple's ref doc here :
class DeathStarSuperlaser { static let sharedInstance = DeathStarSuperlaser() private init() { // Private initialization to ensure just one instance is created. } }