Post

Replies

Boosts

Views

Activity

How to create .drawing file for PencilKit?
If you look at Apple's PencilKit Sample, you'll noticed apple used a dataset file called Notes.dataset to save Pencilkit draws. Inside the Notes.dataset, it contains a general json file for Asset Catalogue.But more interesting, there is a file called color.drawing, which saves the actual data produced by Pencilkit. My question is, how do you create this file as a developer? For example, I want to create a tutorial using Pencilkit and save it as a ".drawing" file, to load up on first launch.
1
0
1.1k
Jun ’21
Shape detection for other apps?
When selecting a stroke path for object on PKCanvas, the option "Snap to Shape" appears. I understand this function is still in beta and has not made available natively to other PencilKit app. Is there a way using Stroke API to call this function directly after the user hold pencil for half a second when stroke is done drawing, just like how it behaves in native apps?
4
0
2.5k
Jan ’26
How to create .drawing file for PencilKit?
If you look at Apple's PencilKit Sample, you'll noticed apple used a dataset file called Notes.dataset to save Pencilkit draws. Inside the Notes.dataset, it contains a general json file for Asset Catalogue.But more interesting, there is a file called color.drawing, which saves the actual data produced by Pencilkit. My question is, how do you create this file as a developer? For example, I want to create a tutorial using Pencilkit and save it as a ".drawing" file, to load up on first launch.
Replies
1
Boosts
0
Views
1.1k
Activity
Jun ’21
App Store submission failed after site redesign.
After the site update, I can no longer submit iOS app for review. Always show this error. An unexpected error was encountered when submitting for review. If the issue persists please contact us
Replies
4
Boosts
0
Views
8.7k
Activity
Jan ’22
How to add placeholder text to TextEditor in SwiftUI?
When using SwiftUI's new TextEditor, you can modify its content directly using a @State. However, I haven't see a way to add a placeholder text to it. Is it doable right now? One example is the text input in Apple's own translator app. Which seems like a multiple lines text editor view that supports a placeholder text.
Replies
10
Boosts
4
Views
19k
Activity
May ’22
Where is the source code from WWDC 19 "SwiftUI on watchOS"
Hello there,I'm desperatly trying to find the source code as mentioned from WWDC 19 swiftUI on watchOS talk.https://developer.apple.com/videos/play/wwdc2019/219/More specifically, I'm trying to write a custom flip card view but the fliped card give me a mirrored effect which is not what I desire.
Replies
3
Boosts
0
Views
1.4k
Activity
Aug ’22
Xcode cannot connect to Github (Cannot pull or push) due to unexpected return value from ssl handshake -9806 (-1)
Cannot connect to Github (Cannot pull or push) due to unexpected return value from ssl handshake -9806 (-1) Does anyone encountered this error?
Replies
2
Boosts
1
Views
829
Activity
Dec ’22
Shape detection for other apps?
When selecting a stroke path for object on PKCanvas, the option "Snap to Shape" appears. I understand this function is still in beta and has not made available natively to other PencilKit app. Is there a way using Stroke API to call this function directly after the user hold pencil for half a second when stroke is done drawing, just like how it behaves in native apps?
Replies
4
Boosts
0
Views
2.5k
Activity
Jan ’26