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

What is Codable and how does it work? | Artur B...

What is Codable and how does it work? | Artur Baghdasaryan

As a part of https://swiftcoders.org initiative, SwiftCoders Armenia has an ambitious goal - connect passionate professionals to share their experience, create a great network and make an impact in their communities.
Our speakers are invited from the best IT companies to share their experience and knowledge.

Watch video of the presentation on YouTube
https://youtu.be/Ocws4OC6k1k

Contact Artur:
Facebook: https://www.facebook.com/arturbaghdas
LinkedIn: http://linkedin.com/in/arthur-baghdasaryan-90436767

Presentation link
https://speakerdeck.com/swiftcoders/5-steps-to-better-architecture-vahram-shamtsyan

Join SwiftCoders Armenia
https://swiftcoders.am

Facebook
https://www.facebook.com/swiftcoders
Telegram
https://t.me/SwiftCoders
LinkedIn
https://www.linkedin.com/company/swiftcoders-armenia
Eventbrite
https://www.eventbrite.com/o/swiftcoders-armenia-18287883306
Decks
https://speakerdeck.com/swiftcoders
Slack
https://swiftcodersinvite.herokuapp.com

Avatar for SwiftCoders Armenia

SwiftCoders Armenia

March 06, 2019
Tweet

More Decks by SwiftCoders Armenia

Other Decks in Technology

Transcript

  1. Who am I? • Studied in Faculty of Mathematics and

    Mechanics, YSU • Working at SFL from 2012 as an iOS developer
  2. What is a Codable? • typealias Codable = Decodable &

    Encodable • A type that can convert itself into and out of an external representation • Encoding and Decoding Custom Types
  3. Encodable/Decodable • func encode(to: Encoder) • init(from: Decoder) • Conforming

    Types (Int, Double, Float, String, Array, Dictionary … )