Skip to content
The project source code for Hacking with watchOS.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
Classic Adding the SwiftUI projects. Feb 18, 2020
SwiftUI/project1 Adding the SwiftUI projects. Feb 18, 2020
.gitignore Adding source code for Swift 4.2 update. Oct 31, 2018
LICENSE Added unlicense. Feb 18, 2020 Adding the SwiftUI projects. Feb 18, 2020

Hacking with watchOS

This is the source code to accompany Hacking with watchOS, a complete tutorial course teaching watchOS development using Swift.

All projects should be compatible with Xcode 11 and watchOS 6. Where appropriate, separate project files have been provided so that you can follow the tutorial from scratch without having to dig around in the completed project folder.

If you have questions, you can find me on Twitter @twostraws.

Recommended links

The Hacking with Swift book contains over 1300 pages of tutorials and example code, and makes a great addition to any developer's collection. Thank you to everyone who bought the book – your purchase helps me create more great Swift content in the future!

Pro Swift is the sequel to Hacking with Swift, and includes a 250-page guide to helping you write faster, more efficient Swift, accompanied by over 70 videos demonstrating each technique. If you want to dive into functional programming, learn more about MVVM, get to grips with @autoclosure and @escaping, or try your hand at protocol-oriented development, Pro Swift is for you.

Swift Coding Challenges is an all-new book written from the ground up to put your Swift skills to the test. I've written a variety of coding challenges that start off simple but slowly get harder, and it's down to you to solve them. I outline each problem, provide you with sample input and output, add in some hints in case you hit problems, then provide a sample solution and explain how it works.

You can’t perform that action at this time.