Parsing a past time from text in Swift
A meal being logged already happened, so “pasta for dinner” typed at 08:00 means last night. How I parse typed times in Swift into the most recent past.
32 stories
A meal being logged already happened, so “pasta for dinner” typed at 08:00 means last night. How I parse typed times in Swift into the most recent past.
SwiftUI kept opening my Mac app at its default size instead of where I left it. The cause was a private ViewModifier at the window root; the fix was one word.
Warning about unsaved changes in the Next.js App Router: closing the tab, in-app links, a save in flight, and why the browser’s Back button can’t be covered.
SwiftData rollback after a failed save, in one place: why a rolled-back delete crashed until processPendingChanges() ran first, and how the tests fail a save.
CSRF protection for Next.js route handlers without tokens: check Sec-Fetch-Site and Origin on every write, since SameSite=Lax lets sibling subdomains in.
A/B testing App Store screenshots with Product Page Optimization on a small app: rounds that test big differences, what little traffic tells you, the upload.
How to make an App Store preview video without recording the app: redraw it in code and encode it with ffmpeg. All built with Claude Code.
Automating App Store screenshots with Claude Code: the app renders every frame from its own SwiftUI components, no UI tests, and exports them at store size.
How to test code when you don't know the expected output: plant the answer in data you invent, and write down what counts as passing before the first run.
iOS testing with Claude Code: it writes tests fast, and left alone they confirm the code, bugs included. Where my tests come from, and how I check them.
Claude Code drives the iOS Simulator from the desktop app, with no MCP or skill. What broke in daily use: the sandbox, xcodebuild’s errors and dead captures.
Claude Code for iOS development, from 3 apps: running the simulator, tests worth having, App Store screenshots, preview videos and A/B tests on a small app.
A Swift image cache keyed by URL alone hands the list screen whatever size the details screen asked for first. Cache the Data instead, and downsample per size.
Working with Claude Code since the spring: I type much less and decide much more. Where the deciding lands, what it costs, and what I'd tell someone starting.
Claude Code will test, review and argue, but it won't ask whether the premise is right. Six careful rounds on a wrong assumption, and how I get at premises now.
Claude Code's report of what it did is a claim, not a result: a feature that counted attempts as submissions, why it's hard to catch, and what I verify now.
Claude Code starts every session with the code and none of the decisions behind it. What that memory gap costs, and the routines that write down what happened.
Claude Code's plans arrive finished-looking, and a considered choice reads like an arbitrary one. Why I decide before it writes, and the 4-word question I ask.
Showing 18 of 32 stories
Load more storiesGet the top AI news and tools straight to your inbox every week.
Weekly · AI news
Join 15,000+ AI enthusiasts