Bound Thumbnail Decoding Before Adding Another Image Cache
Put synchronous Image I/O work behind one decoder actor, size thumbnails in pixels, and distinguish a cache budget from peak decoding memory.
Read moreShowing 13–22 of 22 posts
Put synchronous Image I/O work behind one decoder actor, size thumbnails in pixels, and distinguish a cache budget from peak decoding memory.
Read moreExport an existing PNG through FileRepresentation, keep its lifetime independent of the button, and avoid turning a file-backed image into another full Data allocation.
Read moreGive export scratch files an explicit lifetime, clean up after errors, and avoid deleting an attachment before its consumer has finished reading it.
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 moreDiagnose custom SwiftUI feed jank with stable identity, data-level filtering, bounded nested lazy stacks, and modern scroll visibility APIs before falling back to List.
Read moreMake an AVFoundation camera feel ready sooner by splitting preview-critical launch work from deferred output initialization, keeping capture responsive, and testing pressure on real hardware.
Read moreBuild a field-performance loop with MetricKit reports from real devices, app-state grouping, JSON ingestion, and Instruments traces that reproduce and verify the fix.
Read moreUse Device Hub, devicectl, Organizer metrics, and Instruments to reproduce real-device bugs without losing the thread.
Read moreUse Instruments' SwiftUI instrument to connect an expensive body update back to the state mutation that caused it, then fix the view instead of guessing.
Read more