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.