Let Readers Select Text Without Making It Editable
Offer native word selection in a read-only SwiftUI message on iOS 27, keep whole-message copying explicit, and test what reaches the clipboard.
Read moreShowing 1–12 of 108 posts
Offer native word selection in a read-only SwiftUI message on iOS 27, keep whole-message copying explicit, and test what reaches the clipboard.
Read moreFlow a text report across readable PDF pages with Core Text, advance by the range that actually fits, and verify the exported document keeps its final paragraph.
Read moreMeasure the actual labels to choose an equal-width action row or a vertical stack. Keep long labels readable, respect Dynamic Type, and preserve the same button views.
Read moreCombine natural name sorting, folders first, and persistent identity so a refreshed document list keeps a predictable order—even when users reverse the names.
Read moreMove bundled JSON into a source Swift package, expose a small typed API, and prove that tests and consuming apps load the package's file instead of their own.
Read moreReject redirects for API endpoints that should answer directly, preserve the original HTTP status, and test that the redirected destination receives no request.
Read morePresent a SwiftUI alert from one optional value, capture the item the reader saw, and reject deletion if that item's revision changed before confirmation.
Read moreUse iOS 27's ID-based reordering to move visible items within their original slots, preserve hidden rows, and reject stale moves before touching your model.
Read moreUnique UserDefaults suites isolate saved values, but share registered fallbacks. Give each Swift Testing case its own suite and keys, then verify override and reset behavior.
Read moreReplace shifting offsets with a tested SwiftData cursor, handle tied dates and deleted rows, and keep failed reads from losing your place.
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 more