Description: Draw 2D shapes using Apple's high-speed drawing framework.
I put together answers for almost 300 of the most frequently asked questions I received from readers into one place: the Swift 3 Knowledge Base. It answers basic and advanced questions, and provides lots of free code you can re-use however you please. If you hit problems, try searching there first.
The project files for Hacking with Swift are all available on GitHub, where you can view them, fork them, or download them: click here for the GitHub repo.
Go from iOS to macOS the easy way!
If you like Hacking with Swift, you'll love Hacking with macOS – learn to build macOS apps today, using 18 real-world projects!