Give Your Coding Agent Eyes: Screenshot-Driven SwiftUI Iteration
A guide on using screenshot-driven feedback loops to improve coding agents for SwiftUI UI iteration, with practical tips for deterministic previews.
Trevor — Senior iOS Developer and Swift enthusiast sharing practical tutorials and real-world insights on Swift, SwiftUI, Combine, and iOS app development, with a passion for continuous learning and building high-quality App Store apps.
95 articles from this blog
A guide on using screenshot-driven feedback loops to improve coding agents for SwiftUI UI iteration, with practical tips for deterministic previews.
Learn to compose advanced graphics effects in SwiftUI using Metal shaders, focusing on subtle, performance-aware UI enhancements.
Learn to debug Foundation Models sessions using Instruments in Xcode, focusing on latency, prompts, and tool workflows.
Guide to using Foundation Models in SwiftUI for image analysis, extracting structured data from photos in iOS apps.
Explains why SwiftUI developers should stop using size class as a proxy for screen width, especially with resizable iPhone apps.
WWDC26 updates AsyncImage in SwiftUI with HTTP caching, URLRequest support, and custom URLSession for efficient image loading.
Integrating Visual Intelligence into iOS apps using App Intents to make app content searchable via image context.
Guide to migrating VoIP apps from Apple's CallKit to LiveCommunicationKit for improved system integration.
Learn to build real-time SwiftUI features using gRPC Swift 2, replacing polling with streaming for efficient live updates.
Using Apple container machines to test a Swift backend for iOS apps locally.
Extend TextKit line numbers and foldable sections without rebuilding text editing from scratch.
Guide to making SwiftUI toolbars adapt in resizable iPhone apps using new APIs like ToolbarItemGroup and visibilityPriority.
Guide on choosing between on-device and Private Cloud Compute foundation models in Swift for iOS apps.
Learn how to fix common SwiftUI LazyVStack jank issues like row state loss and layout hitches before switching to List.
Using Swift Subprocess 1.0 to write Xcode automation scripts with better output streaming, cancellation, and error handling.
A practical guide to using Xcode 27 agents for SwiftUI development, from planning to testing a pinned notes feature.
Guide to building workout zone coaching features using HealthKit in iOS 27 and watchOS 27, covering heart rate and cycling power zones.
Learn how to optimize iOS camera app launch speed using deferred start techniques for faster first preview frame.
A guide to integrating Apple's new Now Playing framework for audio/video apps, covering migration from MediaPlayer APIs.
Explains Apple's App Attest for iOS app integrity, covering threat models and cryptographic validation to prevent fake-client abuse in server-backed apps.