Apple's Swift Playgrounds app for iPad and macOS makes it fun and easy to learn Swift, and my playground books give you the chance to see my code, then edit it and explore the results.
I have two books available right now:
Both playground books are completely free, so if you're using an iPad right now you can click the button below to get it. This will subscribe you to the Hacking with Swift playgrounds feed, so when I make more playgrounds in the future you'll be able to get them too.
If you're using Swift Playgrounds for macOS: scroll to the bottom of the playgrounds list, click "Enter a Subscription URL", then enter https://www.hackingwithswift.com/playgrounds/feed.json into the alert that appears.
I hope you enjoy this approach to learning Swift – please feel free to get in touch by email at paul@hackingwithswift.com or on Twitter at @twostraws if you have questions, suggestions, or other feedback!
In case you're interested in learning how to make your own playground book, I can highly recommend session 413 from WWDC 2018: Create Your Own Swift Playgrounds Subscription – it inspired me to try this out, and I hope it will inspire you too!
Link copied to your pasteboard.