Post

Replies

Boosts

Views

Activity

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?
3
0
2.2k
Jun ’20
Why can't we change username in developer forum?
I made a typo in my developer forum username. I waited years for this redesign so I can finally change it. But nope... And we are only allowed to pick from default avatars, like being a Mac computer? I'm not trying to be picky, nor did I ask for extreme customization. But not everyone is a nerd. I can settle with my incorrect username for the next 5 years, but at least let us choose a display name. Sometimes, those design choices are so confusing.
0
2
525
Jun ’20
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
1k
Jan ’20