Edit product

    Is this your street address?

    Card

    ···· ···· ···· 4242
    Test card

    05/18

    Card

    Use a different card?

    Card

    pp paypal

    or pay with

    We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

    or pay with

    Please confirm your location:
    Your card will be charged .

    Thank you!

      Gumroad Library

      Download from the App Store or text yourself a link to the app

      $24

      Flight School Guide to Swift Codable

      New in Swift 4, Codable radically improves the way you work with JSON and other representations of data. 

      Chances are that your app interacts with a web service in some capacity. And when it does, the data you’re getting back is most likely JSON. Codable provides the best way to map those JSON payloads to your Swift models. Thanks to automatic code synthesis from the compiler, tasks that used to take hours of engineering and hundreds of lines of boilerplate can now be done in a few moments — often with little to no additional code.

      This book offers a comprehensive look at all aspects of Codable, starting with the basics, and exploring a variety of advanced topics through engaging example projects.

      Reading this book, you'll:

      • Learn how to navigate corner cases and shape your Codable model to whatever representation comes your way. 

      • Adapt Codable to the iTunes Search web API to build the core functionality of a music store app, and get a productivity boost from some command-line tricks.
      • Build the core of an in-flight ordering app backed by User Defaults, the easiest way to persist data across app launches.
      • Make part of a luggage scanning app using QR codes and Core Data, and learn the best way to use Core Data with external data sources.
      • Implement a custom encoder for the MessagePack format from scratch, and come away with a deep understanding of binary serialization formats.

      Each chapter starts with a delightful illustration from Lauren Mendez (@littleloboart) and ends with a series of challenges for you to take your understanding to the next level. There are also plenty of sample code projects provided as Playground files. 


      About Flight School

      Flight School is a book series for advanced Swift developers that explores essential topics in iOS and macOS development through concise, focused guides.

      If you'd like to get in touch, feel free to message us on Twitter (@flightdotschool) or email us at info@flight.school.


      About the Author

      Mattt (@mattt) is a writer and developer in Portland, Oregon. He spent the last 3 years at Apple as a technical writer, contributing to The Swift Programming Language, Swift Package Manager, and Swift.org. Before that, Mattt founded NSHipster, a weekly publication for iOS and macOS developers, and maintained several open source libraries, including AFNetworking and Alamofire.


      About the Illustrator

      Lauren Mendez (@littleloboart) is an illustrator, designer, and storyteller living in Vancouver, Washington. Her delightful and expressive illustrations in Flight School evoke the spirit of flight in its golden age, inviting readers to reach new heights of understanding.

      Sorry, this item is not available in your location.
      Sold out, please go back and pick another option.

      You've purchased this product

      Give it a rating

      See it in your library

      0 ratings

      • You'll get the book in PDF and EPUB format

      Purchasing Flight School Guide to Swift Codable...

      Card

      ···· ···· ···· 4242
      Test card

      05/18

      Card

      Use a different card?

      Card

      pp paypal

      or pay with

      We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

      or pay with

      Please confirm your location:
      Your card will be charged US$24.

      Your rental will be available for 30 days. Once started, you’ll have 72 hours to watch it as much as you’d like!

      Thank you!

        Gumroad Library

        Download from the App Store or text yourself a link to the app

        Good news! Since you already have a Gumroad account, it's also been added to your library.