SwiftUI : Drawing App using Pencil Kit API | SwiftUI 2.0 | Core Data

preview_player
Показать описание
In this video we gonna to build Drawing Application using Apple SwiftUI, Pencil Kit and Core Data.

Timeline
Intro (00:00)
Demo of Drawing App (00:14)
Create new Xcode Project (00:48)
Create CoreData Entity (01:18)
Build Add Canvas View (05:18)
Create Drawing Canvas View Controller as UI View to PKCanvasView (15:34)
Build Drawing Canvas View as UIViewControllerRepresentable (21:11)
Create SwiftUI Drawing View (29:10)
Final View of Drawing App (36:40)

Support us on

Follow us on
Рекомендации по теме
Комментарии
Автор

Hello, it says StackNavigationViewStyle on AddNewCanvas.swift is unavailable on macos, any work around?

te-kowski
Автор

thanks you)) a lot of people got tool picker not showing. and this lazy anonymous closure solved this problem.

colgates.
Автор

I also find the image quality unsuitable to be able to follow it really well. But with the help of the finished file you can also understand it halfway.
The only problem I have is that the input is not saved in every simulator. After each release, the input is white again. Sometimes the toolbar felt too.
The same with the GitHub file.
I tested it on the iPhone 13 Pro Max. Then it worked.

michaelschafferAT
Автор

I'm using Xcode 12.4, with deployment target 14.4. I could see TookPicker.. but couldn't draw on this canvas... (note: I tried in simulator(iPad Pro 11) but haven't checked on real device..)

dayanithinatarajan
visit shbcf.ru