Preserve Clear Actions In Codable Updates
Keep omitted fields, explicit nulls, and replacement text distinct when you encode, save, restore, and apply a partial update.
Read moreShowing 13–24 of 144 posts
Keep omitted fields, explicit nulls, and replacement text distinct when you encode, save, restore, and apply a partial update.
Read moreUse one matching pass to filter and highlight SwiftUI search results, preserve original Unicode text, and keep highlights on whole characters.
Read moreReplace shifting offsets with a tested SwiftData cursor, handle tied dates and deleted rows, and keep failed reads from losing your place.
Read morePreserve unfamiliar server status strings, keep malformed fields failing, and separate readable records from commands your app understands.
Read moreCalculate Image I/O thumbnail sizes for aspect-fill crops, account for photo orientation and display scale, and reject oversized requests before decoding.
Read morePreserve SpeechAnalyzer timing through a JSON round trip, validate the recording association, and reopen a transcript that still knows where its words belong.
Read moreKeep bundled timer presets separate from user choices, preserve explicit settings across catalog updates, and surface conflicting records without deleting them during a read.
Read moreBridge NSItemProvider into async code with Swift 6.4 Continuation, one cancellation owner, and a Progress handle that can arrive after the task is cancelled.
Read moreSeparate following intent from scroll geometry, count new messages without counting every streamed update, and give readers an explicit way back to the latest message.
Read moreKeep bucket extrema and missing intervals visible, then inspect original readings instead of treating a reduced chart as the source of truth.
Read moreUse @c @implementation to preserve a C interface, check signatures at compile time, and keep buffer ownership and failure behavior explicit.
Read moreBuild a bounded Swift search shortlist with deterministic ties, cancellation, and measurements that include the actual scoring work.
Read more