Recommended for you

Our recommendation engine has come up with some personalized suggestions for you.

Discover more products

    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

      $0+

        Natural Swift

        Natural Swift

        This course is "pay what you want" because Gumroad doesn't support completely free content, but I encourage you to enter $0 for the price so you can download the course for free. Seriously, don't worry about it: enter $0 and get this course for free.


        What is this?

        Hi, my name is Paul! I wrote Hacking with Swift, Pro Swift, Hacking with macOS, and, well, quite a few more books on Swift. You can check them out at hackingwithswift.com, or tweet me at @twostraws if you have questions.

        Natural Swift is a completely free 75-minute video that teaches you three fundamental techniques that help you write natural, idiomatic Swift – Swift the way it was meant to be written.

        The first of the techniques is using value types: what are they, why are they different from reference types, and why should you care?

        The second of the techniques is using functional programming: how map, flat map, filter, and reduce can help you write smarter, safer code. If you're struggling to understand FP, this will really help clear things up.

        The third of the techniques is protocol-oriented programming: I'll walk you through practical examples to help you understand why it's more than just hype.


        What makes "natural" Swift?

        POP, FP, and value types aren't three things I just chose randomly. Instead, they all help to simplify the way you write code, which makes it easier to read, easier to write, and easier to maintain.

        "Simple" code isn't the same as "easy" code – your code is still as powerful as it was before. However, if you're able to use natural, expressive Swift you'll find you can achieve the same goals with less code, clearer code, and often even faster code too

        So, if you want to stop writing Swift as if it were Objective-C, download this free course. Yes, I know Gumroad asks you to enter a "fair price", but please just enter $0.


        What gives you the right to define idiomatic Swift?

        As I say in the video, there are lots of things that make for natural Swift code. I picked out just three of them, not because they were the most "swifty", but because they offered the best chance of you learning something new.

        As a result, clearly this video expresses my own personal opinions. I am not declaring everything else to be "Unnatural Swift", and I am well aware that many people have different views to me – and that's OK. Wouldn't it be dull if we all thought the same things?


        You said this course would be free! Why are you making me enter a fair price?

        Again, Gumroad does not allow 100%-free products; I have no choice but to make this "pay what you want". Please enter $0 for the price, and you'll get the video for free.

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

        You have purchased this product previously. You can buy it again by clicking the button above.

        • Gumroad has a "pay what you want" model that asks you to name a fair price. Please just enter $0 – this course is free.

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

        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