Contained in: Supporting SwiftUI with Core Graphics
Video Course
iOS & Swift
Supporting SwiftUI with Core Graphics
Nov 22 2022 · Video Course (43 mins)
Learn how to support SwiftUI drawing with Core Graphics! This course picks up where our Drawing in iOS with SwiftUI course left off. You’ll enhance the Open Mind app with help from UIKit and Core...
iOS & Swift
Anatomy of a View
Nov 22 2022 · Lesson
Review how the SwiftUI paradigm differs from UIKit. Learn how a view is rendered, and discover Core Animation layers and Core Graphics contexts.
iOS & Swift
Create a CGImage
Nov 22 2022 · Lesson
Examine the View Hierarchy Debugger in Xcode. Then create a Core Graphics context, draw into it and extract an image.
iOS & Swift
Build a UIKit Drawing Pad
Nov 22 2022 · Lesson
Capture touches and turn them into drawing strokes with UIKit and Core Graphics.
iOS & Swift
Drawing with Pencil
Nov 22 2022 · Lesson
Learn how to use Pencil for custom drawing and draw smooth lines with thickness dependent on pressure.
iOS & Swift
Host a UIView in a SwiftUI View
Nov 22 2022 · Lesson
Upgrade a SwiftUI drawing pad to UIKit. Examine the app architecture and understand how to insert UIKit views in a SwiftUI app.
iOS & Swift
Shading with Pencil
Nov 22 2022 · Lesson
Understand the extra features that drawing with Pencil gives you. Use the tilt of the pencil to change from drawing to shading.
iOS & Swift
Create a Thumbnail
Nov 22 2022 · Lesson
Learn to extract a sketch from the drawing pad into an image, create a thumbnail, and display it on a mind map cell.
iOS & Swift
Color Picking from a Bitmap Image
Nov 22 2022 · Lesson
Go low-level into Core Graphics and examine individual pixels. Learn how to retrieve the pixel color and switch the drawing color to this color.