Swift Samples Swift sample programs - Playgrounds Sample programs in Swift Language Hello World Variables and Constants String Operations Arrays Sets Dictionaries Control Statements Loops Functions Closures Enumerations