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

How to migrate to Swift 4

d_date
June 27, 2017

How to migrate to Swift 4

2017/06/27 Geek Garage iOS vol.3

d_date

June 27, 2017
Tweet

More Decks by d_date

Other Decks in Programming

Transcript

  1. Daiki Matsudate,@d_date • iOS Freelancer • Supporting Realm as News

    Translator • Organizer of CLEM (announce later) • WWDC17 Attendee
  2. Daiki Matsudate,@d_date • iOS Freelancer • Supporting Realm as News

    Translator • Organizer of CLEM (announce later) • WWDC17 Attendee
  3. Agenda • How to migrate to Swift 4 using Xcode

    9 Beta • [SE-0160] Limited @objc inference • [SE-0110] Distinguish between single-tuple and multiple-argument function types • Renamed some constants • Decodable
  4. NSAttributedStringKey • Renamed to enum • NSFontAttributedName -> NSAttributedStringKey.font •

    NSParagraphStyleAttributeName -> NSAttributedStringKey.paragraphStyle