Ruler now incorporates this secret third state. Transient masks are used to block pencil strokes from impacting the sheet and the underlying canvas. In English: a pencil can no longer draw under the ruler. The ruler behaves like an object in the real world!


#PencilKit #BuildInPublic #LetterSet #swiftui

Now I have a third state within masking. Throughout the app, I have to track:
-the current #PencilKit stroke
-the sum of all strokes
-the boundary of letters that have been tapped

I track these in two ways, as the shape of the above as it applies to the sheet is different vs its orientation to the canvas. Then add undo history across both.

Now: the idea of a transient object that blocks transfer to the canvas, but doesn’t impact the cumulative sheet mask.

#BuildInPublic #LetterSet #swiftui

Want to go beyond Apple's standard tool picker in PencilKit?

This tutorial explores how to create a custom tool picker for PencilKit in a SwiftUI application, giving you more control over the drawing experience.

🔗: https://www.wesleymatlock.com/customizing-pencilkit-going-past-apples-tool-picker/ by Wesley Matlock

#SwiftUI #PencilKit

Customizing PencilKit: Going Past Apple’s Tool Picker

Professional iOS Engineer specializing in SwiftUI, VisionOS, and modern Apple platforms. Expert in HealthKit, tvOS, watchOS and even some VisionOS development with 50+ technical articles and comprehensive portfolio.

New day new feature: “Infinite canvas” & “hard mode.”

This video shows disabling reusable letters, and accommodate all screen sizes.
- “Infinite canvas” now acts like a design app should: you can pan around & use flexible canvas sizes. As a bonus, you can now more easily use larger letter sheets, even if you’re on a small screen.
- “Hard mode” makes it so letters cannot be re-used. It is still possible if you switch font sheets, but is less obvious.

#typography #LetterSet #pencilkit

New day new feature. Today we have sheet selection, for adjustable weights and sizes! #typography #pencilkit #LetterSet

I sent an invite to everyone who requested one yesterday. A new build is out, and I can’t wait to see what you do with it!

#pencilkit #LetterSet

Okay #typography fans, I've created a TestFlight sign-up form. If you want to play around with the existing version, please sign-up here: https://letterSet.app.

#pencilkit #LetterSet

Test views are the best views. #LetterSet #PencilKit