Resume Background Uploads After Your App Relaunches
Reconnect URLSession transfers to durable upload jobs, detect missing or duplicate tasks, and avoid treating an app relaunch as permission to upload everything again.
Read moreShowing 13–18 of 18 posts
Reconnect URLSession transfers to durable upload jobs, detect missing or duplicate tasks, and avoid treating an app relaunch as permission to upload everything again.
Read moreUse URLSession's file downloads, validate the result, and move temporary data into app storage without turning a large transfer into a large Data value.
Read moreLet URLSession revalidate a JSON response with ETag, understand what a 304 actually saves, and test server requests separately from decoded app results.
Read moreTwo Swift strings can compare equal while containing different UTF-8 bytes. Match your identifier type to the server contract before using it as a dictionary or SwiftUI identity.
Read moreBuild a calendar-based streak calculation that handles short days, long days, duplicate completions, and an unfinished today without adding a server-side counter.
Read moreMove an app event from userInfo casts to a typed NotificationCenter message, with explicit main-actor delivery, subject filtering, and an observer lifetime you can test.
Read more