Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adds drawings, shapes, and a system-standard markup toolbar to apps via PaperKit's PaperMarkupViewController on iOS 26 and macOS 26.
12% 96%+84 ptsof test cases passed
Passed 24 of 25 test cases with the skill, and 3 of 25 without it.
When programmatically adding a callout text box to a document canvas, I want to ensure the new frame doesn't overlap existing markup elements. What view controller helper method should I call to calculate an ideal coordinate frame?
Calls suggestedFrameForInserting(contentInFrame:) on PaperMarkupViewController.
3 of 3 safety checks passed
Beta-sensitive. PaperKit is new in iOS/iPadOS 26, macOS 26, and visionOS 26. Verify all patterns against current Apple documentation before shipping.
Extended patterns, data persistence strategies, rendering, multi-platform considerations, and advanced FeatureSet usage for PaperKit.
PaperMarkup.dataRepresentation() is async. Always call from an async context and handle errors.
import PaperKit
actor MarkupStore {
private let fileURL: URL
init(directory: URL, filename: String = "markup.paperkit") {
self.fileURL = directory.appendingPathComponent(filename)
}
func save(_ markup: PaperMarkup) async throws {
Next to this one in the catalogue, plus more from the same author.