Cancel An NSItemProvider Load Without Resuming Twice
Bridge 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 moreShowing 1–12 of 19 posts
Bridge 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 moreValidate a complete remote policy, stage updates safely, and keep each Swift export on one immutable configuration—even when refreshes finish out of order.
Read moreTest cookie isolation and redirects with real URLSession traffic, a disposable local server, and Swift Testing cases that can run in parallel.
Read moreDecode streaming JSON records with URLSession, limit unfinished records, handle cancellation, and distinguish a closed connection from a completed job.
Read moreConnect Observations to a small SwiftUI state store with safe restoration, ordered saves, accurate save status, retry, and an explicit flush contract.
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 moreAwait resource cleanup before returning, shield only the cleanup that must survive cancellation, and keep cleanup failure separate from the operation's result.
Read moreKeep related SQLite changes consistent when an app and its widget open separate connections, and test contention before it reaches a device.
Read moreMove decoding and projection into an explicit actor, publish one validated result, and keep payload size and cancellation limits visible.
Read morePut synchronous Image I/O work behind one decoder actor, size thumbnails in pixels, and distinguish a cache budget from peak decoding memory.
Read moreTag each search attempt, associate results with their query, and stop late failures as well as late successes from changing the current SwiftUI screen.
Read moreCombine atomic single-file writes with ordered editor snapshots so a failed save or late autosave cannot quietly replace the version you meant to keep.
Read more