• Purchase flow
    1. 1. Product preview
    2. 2. Payment form
    3. 3. Receipt
  • Style

      Pick a theme:


    • Use theme defaults

      Customize:

    • Video thumbnail processing...
    • Learn more

      Custom CSS:

    • Preview Reset
      CSS hints

      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

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

        Send SMS
        Nevermind

        $14

        Flight School Guide to Swift Numbers

        Click Here to Download a Free Sample


        Swift 4 overhauled its number system to adopt a protocol-oriented design. Not only does that simplify the way you work with integer and floating-point numbers, but it allows anyone to define their own numeric types that look and feel like they’re built-in.

        This guide offers a comprehensive look at what's new, and how to take advantage of these changes in your own apps. 

        The first chapter takes a deep dive into how numbers work on computers in general and in Swift specifically. After reading it, you’ll be able to represent integers in binary, decimal, and hexadecimal, explain how signed integers store positive and negative numbers using two’s complement, convert bit patterns into decimal floating-point numbers, and much more.

        From there, the book looks at different ways you can use numbers, such as:

        • Working with money, using the Decimal type and creating a Currency type
        • Performing dimensional analysis and physical calculations using the Foundation units & measurements API and Playground live views 
        • Formatting numbers in a locale-appropriate way for a global audience


        Each chapter starts with a delightful illustration from Lauren Mendez (@littleloboart). There are also plenty of sample code projects provided as Playground files.


        About Flight School

        Flight School is a new book series for Swift developers. Each month, we'll explore an essential part of iOS, macOS, and Swift development through concise, focused books.

        Our guides offer practical knowledge that will help you be more productive and effective as a developer. We strive to create resources that are engaging, informative, and accessible to a wide audience. Whether you've been working with Swift from the very beginning or just getting your start now, we promise that you'll find something to love in everything we make.

        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

        See it in your library

        • You'll get the eBook in PDF and ePub formats, as well as sample code in Xcode Playgrounds
        • Pages 150

        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$14.

        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

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

          Send SMS
          Nevermind