Wrap A PaperKit Markup Canvas In SwiftUI
Wrap PaperKit's markup controller in SwiftUI, persist PaperMarkup data, and choose the feature set your editor actually supports.
Read moreShowing 145–156 of 195 posts
Wrap PaperKit's markup controller in SwiftUI, persist PaperMarkup data, and choose the feature set your editor actually supports.
Read moreUse GRDB, SQLite FTS5, and a small SwiftUI view model to build fast local search that still feels native.
Read moreUse BGContinuedProcessingTask for visible, user-initiated work that may need more time after your app leaves the foreground.
Read moreUse Swift Testing exit tests to verify deliberate process exits without crashing the whole suite, including fatalError and preconditionFailure paths.
Read moreRecord screenshots, JSON payloads, and plain-text diagnostics from Swift Testing so a failed test tells you what actually happened.
Read moreUse Instruments' SwiftUI instrument to connect an expensive body update back to the state mutation that caused it, then fix the view instead of guessing.
Read moreTeach an on-device Foundation Models session to call a small Swift tool, validate the arguments, and return app data without turning your SwiftUI view into an AI grab bag.
Read moreUse Foundation Models streaming APIs to update SwiftUI as an on-device response is generated, with cancellation, availability checks, and a production-shaped view model.
Read moreSwift 6.2 makes concurrency feel more natural for app code, but it is still easy to accidentally leave expensive work on the main actor. Here is the mental model I use for SwiftUI apps...
Read moreFoundation Models lets Swift apps ask the on-device language model for structured output. Here is a small SwiftUI search suggestion model using availability checks, @Generable, and @Guide...
Read moreSwift Charts can plot real three-dimensional data with Chart3D. Here is a compact SwiftUI example using PointMark, Z-axis values, species styling, and Chart3DPose...
Read moreSpeechAnalyzer and SpeechTranscriber bring a modern async speech-to-text API to Apple platforms. Here is a small file transcription example that returns an AttributedString.
Read more