Give Your Coding Agent the Failing Xcode Test
Turn a local Xcode result bundle into a small, checkable handoff. Prove the same test failed before the fix and passed afterward, even when a different test is green.
Read moreShowing 1–12 of 197 posts
Turn a local Xcode result bundle into a small, checkable handoff. Prove the same test failed before the fix and passed afterward, even when a different test is green.
Read moreDecode the usable suggestions, report which rows failed, and tell a genuinely empty response from a refresh that should leave the last good result on screen.
Read moreOffer 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 moreModern Foundation can decode optional ISO 8601 fractions, but JSONEncoder’s .iso8601 strategy can still discard them. Build and test both sides of a millisecond-resolution API contract.
Read moreVerify that a shared assertion helper really fails through both test frameworks, choose the right interoperability mode, and preserve the caller's source location.
Read morePreserve Keychain read errors during session restoration, retry an inconclusive lookup in the foreground, and avoid deleting a saved credential.
Read moreKeep a deadline while running, freeze the remaining duration when paused, and let SwiftUI update the display without making every tick an app-state mutation.
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 more