Hacking with Swift Project 27 – Core Graphics





Hacking with Swift is a whole Swift coaching course that teaches you app improvement via 30 hands-on tasks, together with over 20 hours of free YouTube movies. Everything is taught as a part of a sensible undertaking, so you may instantly apply your information as you study.

You’re in all probability uninterested in me saying this: iOS is stuffed with highly effective and straightforward to make use of programming frameworks. It’s true, and you’ve got already met UIKit, SpriteKit, Core Animation, Core Motion, Core Image, Core Location, Grand Central Dispatch and extra. But how would you’re feeling if I mentioned that we have but to make use of one of many greatest, strongest and most necessary frameworks of all?

Well, it is true. And on this approach undertaking we’ll proper that mistaken. The framework is known as Core Graphics, and it is accountable for device-independent 2D drawing – if you wish to draw shapes, paths, shadows, colours or so on, you may need Core Graphics. Being device-independent means you may draw issues to the display screen or draw them a PDF with out having to alter your code.

Hacking