Project 27: Core Graphics
About 2 min
Project 27: Core Graphics 관련
Hacking with iOS – learn to code iPhone and iPad apps with free Swift tutorials
Learn Swift coding for iOS with these free tutorials – learn Swift, iOS, and Xcode
Project 27: Core Graphics
Draw 2D shapes using Apple's high-speed drawing framework.
Description
Draw 2D shapes using Apple's high-speed drawing framework.
Setting up | Hacking with iOS
Setting up
Creating the sandbox | Hacking with iOS
Creating the sandbox
Drawing into a Core Graphics context with UIGraphicsImageRenderer | Hacking with iOS
Drawing into a Core Graphics context with UIGraphicsImageRenderer
Ellipses and checkerboards | Hacking with iOS
Ellipses and checkerboards
Transforms and lines | Hacking with iOS
Transforms and lines
Images and text | Hacking with iOS
Images and text
Wrap up | Hacking with iOS
Wrap up
Need help?
I put together answers for over 600 of the most frequently asked questions I received from readers into one place: the Swift 5 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.
If you're still having problems, you can post to the Hacking with Swift subreddit where you can expect an answer fairly quickly, or you can find me on Twitter where I'll do my best to help.
Project files
The project files for Hacking with Swift are all available on GitHub, where you can view them, fork them, or download them: