Type Driven Development in Swift. Ideas for designing programs type-first and leveraging the power of the type system in the Swift programming language.
fatalError("undefined \(message)") } Can be used for simple things like let a : String = undefined("special string") let b : Int = undefined("some int") let t = NSTimer(timeInterval: undefined(), target: undefined(), selector: undefined(), userInfo: undefined(), repeats: undefined())