SwiftLee Weekly - Issue 311


This week's SwiftLee Weekly covers:

  • An Agent Skill for Swift Testing
  • Using Gemini in Xcode
  • Automating Codex & The Agentic Loop

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

Swift Testing Agent Skill: Write high quality tests with AI

You might have noticed that I'm building a collection of Agent Skills lately. This week, I'm introducing you to the latest addition: Swift Testing.

I'm coding full-time with agents and run into frequent mistakes. One of these related to tests not being written as I'd like them to be. Those are moments that I step back, and optimize. Constantly improving your workflow will compound over time, so I'm sure this new Agent Skill will help you become more productive.

For those keen to learn more about developing with AI, I'd love to introduce you to Agentic Coding Fundamentals for Developers. It's a new course I'm working on, releasing later this year.

SPONSORED

Fastlane alternative - Codemagic CLI tools

Are you tired of Ruby and Fastlane installation issues? There's got to be a better way! Discover Codemagic open source CLI tools. It is not a drop-in replacement for all of what Fastlane does (screenshots for example), but we use it at Codemagic to build and publish iOS and Android apps, also versioning and device provisioning. View on GitHub.

CURATED FROM THE COMMUNITY

If You Are Not Versioning Your Swiftdata Schema

I learned this the hard way: SwiftData or Core Data need proper versioning and Mohammad Azam explains why.
azamsharp.com

The Agentic Loop

Compound during agentic development to boost your productivity. Thomas Ricouard explains the concept using a game he recently built.
dimillian.medium.com

Advanced NavigationStack Patterns in SwiftUI

Navigation in SwiftUI remains an unsolved problem for many. This article by Kamil Buczel shares another concept that might fit your projects.
buczel.com

Automating Codex

Agentic development is one thing; automating it is next-level. Henk tells you how to do it and gives ready-to-use prompt examples.
build.ms

Agentic Coding in Xcode with Gemini CLI

Many adopted Agentic Coding in Xcode, but have you tried using Gemini with it? Peter Friese explains how to install and use it step by step.
peterfriese.dev

SWIFT EVOLUTION

An overview of last week's Swift Proposal state changes. Check them out when they're in review, as it's your opportunity to influence the direction of Swift's future.

WHAT I'M WORKING ON

Connecting the dots, giving AI eyes

While enjoying time off with the family last week during a ski holiday, I found myself re-evaluating the status quo. It's always good to take a step back and revisit what you're doing.

I figured and asked myself:

"Why aren't my agents continueing development while I'm on a holiday?"

If you think about agents like colleagues, you would expect them to continue working while you're off. It's the same for weekends, basically any moment you're not writing code yourself.

So I started reading up on automations. Codex offers automations, we can use tools like Zapier, or go all in on OpenClaw (now part of OpenAI, congrats Peter!).

Either path starts by connecting the dots, giving AI eyes. My current tech stack involves RevenueCat for purchases, Amplitude, Plausible, and App Store Connect for other tracking measurements. Agents can already access my code, so what if they can connect the dots?

I did not yet automate anything, but I did start a new paywall experiment based on code analysis combined with insights from RevenueCat and Amplitude. Simply because I can now simply ask:

This all started by me evaluating where I spent my time. I love looking at my charts, but it's time consuming and I often don't have as much product knowledge as my agents. This truly feels like a next step in my workflow and the future will be about automating this monitoring and running new experiments autonomously.

UNTIL NEXT TIME

Continue your Swift development journey

I hope you've enjoyed this week's content. You don't have to wait till next Tuesday for more insights, I share every day on these channels:

Or earn lifetime access to RocketSim & my Swift Concurrency Course by becoming an affiliate of my newsletter.

Thank you so much for your support, and until next Tuesday,

Antoine

SwiftLee Weekly by Antoine van der Lee

Swift Evolution updates, 5 top community articles covering Swift development topics.

Read more from SwiftLee Weekly by Antoine van der Lee

This week's SwiftLee Weekly covers: Agentic Coding in Xcode Is Combine dead? A new way of testing VoiceOver Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Core Data Agent Skill: Now available open-source You might see a pattern here: I'm converting my SwiftLee categories into Agent Skills. To help you, but to also help myself. These articles reflect my way of coding, and how easy would it be if I can teach my Agents to reflect that same knowledge? This week, I introduce you to my...

This week's SwiftLee Weekly covers: An interview with the creator of Clawd A new SwiftUI Agent Skill How Apple hooks entire frameworks Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST SwiftUI Agent Skill: Build better views with AI As a SwiftLee Weekly reader, you've probably checked out this skill already after I told you last week. If not, this is a great article that introduces you to it, combined with an example prompt that I like using with it. SPONSORED Release every white-label...

This week's SwiftLee Weekly covers: AI Agents eating SaaS Unexpected SwiftUI Binding side effect A brand new Agent Skill for SwiftUI Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST AI App Development: What I Learned in One Month Developing with AI moves so fast that it's hard to imagine the learnings in this article are from just 1 month. Note: these are not only lessons on how to apply AI well, but also challenges I wish I had faced earlier. Yes, earlier than within that same month,...