Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Swift language - A fast overview of some features

Swift language - A fast overview of some features

Short slide about Swift programming language and its features.

Learn about: variables, hello world, optionals, enumerators, emojis, differences between Objective-c.

Weverton do Couto Timoteo

October 16, 2014
Tweet

More Decks by Weverton do Couto Timoteo

Other Decks in Programming

Transcript

  1. Technical Features • Cocoa and CocoaTouch • Build in LLVM

    compiler • ARC (Automatic Reference Counting) memory management • Same runtime as Objective-C (Bridged) • No pointers • Static, inferred typing
  2. Optionals • Used in situations where value is absent •

    Alternative for Objective-c nil passing • Works in any type • Can be safely unwrapped (if/else)