Stream NDJSON With URLSession And A Record Size Limit
Decode streaming JSON records with URLSession, limit unfinished records, handle cancellation, and distinguish a closed connection from a completed job.
Read moreShowing 37–48 of 195 posts
Decode streaming JSON records with URLSession, limit unfinished records, handle cancellation, and distinguish a closed connection from a completed job.
Read moreConvert stored SwiftData values with an intermediate schema, retain legacy values during conversion, and test real upgrades from older app versions.
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 moreBuild a bounded async batch loader that keeps results in order, stops admitting work after cancellation, and does not mistake a task limit for a memory or rate limit.
Read moreUse iOS 27's Core Bluetooth ranging APIs with capability checks, explicit session ownership, and a distance UI that handles missing and stale measurements.
Read moreUse LocalAuthentication to separate biometric availability, enrollment, lockout, and permitted fallback, and let capability checks survive new iPhone models.
Read moreRecord the selected compiler and SDK, verify resolved settings for the app and extensions, and catch deployment-target drift without rewriting release version numbers.
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 moreLet the watch own its workout while the phone displays a versioned snapshot, and reject stale or duplicate updates without treating reachability as workout state.
Read more