Compose SwiftData Filters Without One Giant Predicate
Combine ownership, optional relationships, search, and archive filters with Predicate(all:) and Predicate(any:), then drive a SwiftData query safely.
Read moreShowing 13–24 of 86 posts
Combine ownership, optional relationships, search, and archive filters with Predicate(all:) and Predicate(any:), then drive a SwiftData query safely.
Read moreBuild a SwiftUI quantity editor that preserves unfinished text, validates a complete localized Decimal, and changes the saved value only when Save succeeds.
Read moreConnect Observations to a small SwiftUI state store with safe restoration, ordered saves, accurate save status, retry, and an explicit flush contract.
Read moreBundle a small HTML help library with SwiftUI WebKit, including shared CSS, a fixed resource manifest, navigation rules, and real WebKit verification.
Read moreCombine SwiftUI TextSelection with revision-checked edit proposals so a delayed translation, formatter, or generated suggestion cannot replace newer text.
Read moreBuild a SwiftUI recipient shortlist with the system contact picker, and understand when iOS 18's ContactAccessButton is the better tool for ongoing access.
Read moreSeparate scene selection from shared documents, reject stale saves from a second window, and test iPhone Duo scene availability without treating the device name as permission to open a window.
Read moreKeep a PencilKit canvas and its document coordinates stable during resizing, preserve editable strokes, and separate future Pencil availability from work you can test today.
Read moreTurn Apple's iPhone Duo design guidelines into an editing-session audit: preserve state through folds, handle asymmetric safe areas, and plan for reserved regions and ArrangementView.
Read moreAdd the system find navigator to a SwiftUI TextEditor, scope replacement controls correctly, and keep editing identity stable while the search interface opens.
Read moreGive a two-axis photo adjustment pad named actions, share its bounds with touch input, and test state changes as well as the words VoiceOver reads.
Read moreDecode notification taps into a small route, wait for account and scene readiness, and prevent cold-launch navigation from disappearing or opening the wrong document.
Read more