In the recent WWDC 2022, FreeForm app was introduced and in that app in the tool picker there was a Fill Tool.
I want to put that fill tool (or any similar filling tool) in my xcode app that I am building. But when I use pencilkit PKToolPicker, there is not Fill Tool.
So how to get this fill tool in my app.
Any leads would be helpful. Thanks.
Post
Replies
Boosts
Views
Activity
I have followed a basic tutorial for importing multiple images using PHPicker
(Link: https://www.youtube.com/watch?v=V-kSSjh1T74&list=PL5Adl54O3opbk_Du94r8OmeSwk2x5dRao&index=15&t=74s).
I also want to get their file names along with their images. I got multiples solutions for doing this with UIImagePickerController but none for PHPickerViewController.
Any leads would be appreciated. Thanks.
I want to implement layers system that is similar to photoshop layers system.
I can't figure out how to use subviews for this purpose.
Any leads/resources would be helpful. Thanks
I followed the steps told in this video and made a custom drawing app.
Video Link:
https://www.youtube.com/watch?v=I-Eacg9Kjuw&list=PL5Adl54O3opbk_Du94r8OmeSwk2x5dRao&index=22&t=1095s
So my question is how to fill in this closed shape with red color (autofill / manual anything would be ok)?
Any kind of leads on this would be appreciate.
Thanks
Can anyone provide resources for Picking multiple images from the image library (I have used PHPicker) and then appending the same number of PKcanvas with those previously selected images as a background image of the canvas in a list?
I followed this article to add new canvas by looping the multiple images array and applied it in ContentView: https://blog.devgenius.io/saving-images-in-coredata-8739690d0520
But adding a background image can be done in the UIViewController where the PKCanvasView(Just followed a common PencilKit tutorial) is defined.
Any kind of help would be appreciated. Thanks.
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView(pencilAction: () -> Void, fingerAction: () -> Void).environment(\.managedObjectContext, PersistenceController.preview.container.viewContext)
}
}
How to pass void functions defined in UIViewController(in UIHostingController) for swiftUI button in ContentView