This article talks about variables and constants and how Swift forces you to choose var (a variable) or let (a constant) right at the time of declaration.
|
This series of articles goes through the basics of Swift. It introduces Playgrounds and REPL; Variables and Constants; Int, Float, Bool; Tuples, Type Aliases, Type Inference, Type Safety, and more.
|
This article discusses the boolean types in Swift and contrasts with how these types are used in C and Objective-C.
|
Test on Boolean Types in Swift.
|
Test on comments, structured comments, and markup in Swift
|
|