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

Optionals, Protocols and Extensions - Swift by ...

kickinbahk
November 26, 2016

Optionals, Protocols and Extensions - Swift by Example - SoCal Code Camp '16

Whether you are working with Swift as your first language or if you are coming from another language, Swift has some quirks setting it apart from other languages.

We will explore some of the reasonings, implementations and usages of these elements in the language through practical examples. Some of the Swift concepts we will be looking at are Optionals, Protocols and Extensions.

kickinbahk

November 26, 2016
Tweet

More Decks by kickinbahk

Other Decks in Programming

Transcript

  1. A blueprint of methods, properties, and other requirements that suit

    a particular task or piece of functionality
  2. A guarantee of some terms that will be satisfied. To

    the other party, the contract is a set of obligations.
  3. One class (a delegator class) would give control or responsibility

    for some behavioral logic to another class called a delegate.