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

A swift 4 KeyPath journey

Elmar Kretzer
September 08, 2017

A swift 4 KeyPath journey

Introduction to KeyPaths in swift 4 and some insights on what we can build with them. Meetup presentation on 07/09/2017.
https://www.meetup.com/The-Munich-iOS-Developers-Meetup/events/242585670/

Follow-up Article soon - http://elm4ward.github.io

Elmar Kretzer

September 08, 2017
Tweet

More Decks by Elmar Kretzer

Other Decks in Technology

Transcript

  1. \Pen.pineapple.apple.pen A Swift 4 KeyPath Journey including el duderino, erased

    types, & a thinking cat Pikotaro - PPAP Elmar Kretzer - @elmkretzer
  2. KeyWhat? new Swift 4 feature w/ more than 10 yrs

    Obj-C xp [dude setValue:@"lebowski" forKey:@"lastname"]; The Big Lebowski © Copyright Gramercy Pictures
  3. supports type inferrence Generic Typealias for some optional something from

    a list of somethings Actually, something is an Int
  4. ... so let’s assume two distinct types & we want

    to map from one to the other and back again. Read & Write with same Expression...