SwiftLee Weekly - Issue 313


This week's SwiftLee Weekly covers:

  • Combining MCP & Agent Skills
  • Optimizing SwiftUI animations using AI
  • Integrating AI into Xcode's Simulator

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

Using an MCP to perform product optimizations

I'm having more and more fun with AI and I'm optimizing by workflow quite a bit. While keeping track of these learnings for aifundamentals.dev, I didn't want to wait with writing this piece of insight. I share actual prompt examples and one of my non-coding favorite Agent Skills.

SPONSORED

Fix iOS issues faster with this workshop from Sentry

Learn how to set up Sentry to surface high-priority iOS issues without alert fatigue, use Logs and Breadcrumbs to understand what led to a crash, find performance bottlenecks with Tracing, and monitor app size with Size Analysis. This practical, hands-on session is designed to help you debug more efficiently and ship with more confidence. Learn more.

CURATED FROM THE COMMUNITY

Array expression trailing closures in Swift

With proposal SE-508 accepted, Artem Mirzabekian shows the impact on arrays and how it can replace some of the extensions you might have in place.
livsycode.com

Custom Parameters and Animation with Metal Shaders

Metal Shaders add magic to your SwiftUI apps. With automatic inputs it’s already great, but what if you follow Create with Swift’s instructions and use your own data as input for the shaders?
createwithswift.com

edwardsanchez/MotionEyes

This is Edward’s first Agent Skill, but it’s so creative: combining an SPM package with an Agent Skill to let AI understand and optimize your animations.
github.com

Release 2.0.0 · AvdLee/SwiftUI-Agent-Skill

After last week’s mistake, I took the time to carefully review and refine the SwiftUI Agent Skill. Using more SwiftLee Articles and the Sosumi MCP to fetch Apple’s latest APIs, we’ve been able to deliver 2.0 of our SwiftUI Agent Skill.
github.com

Eraser: Cleaner for Xcode App - App Store

Tired of all the space taken by Xcode? Sean Allen’s latest app helps you clean it all up. Welcome back GBs of space!
apps.apple.com

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

Exploring AI integration into RocketSim

This is really a proof of concept, but I'd love to see how many of you reply to this email to say they want this.

The idea is simple:

  • Pick any elements inside the current view in the Simulator
  • Write a prompt on what you want to change. E.g. "Make the SF symbols of these items bold"
  • Include any extra metadata, like debug logs, environment info (OS / Device / etc) or network requests performed on this view
  • Copy the prompt

This coud allow you to, while debugging, quickly prompt quick fixes along the way. Later on, I would allow you to Bring Your Own Key (BYOK) and directly launch Cloud Agents from within RocketSim.

Other prompts this would enable:

  • "An unexpected bug occurred on this page. Analyze the console logs and network requests and come up with a fix"
  • "The design looks off, probably due to dynamic type. Evaluate the current environment info and come up with a fix"

The best thing is that these could be triggered from your QA engineers too.

Now, this was really a quick proof of concept, but I'd love to see what this triggers for you. Please, don't hesitate to hit reply, I really would love direct input for this one.

Thanks!

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: A new VoiceOver Navigator tool for Xcode Tracking token usage in Foundation Models Two SwiftUI animation articles Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST VoiceOver Navigator & 120 FPS Recordings for Xcode’s Simulator If you wonder what I've been cooking over the past weeks, you'll know now after reading this week's article. 120 Frames per seconds recordings, a VoiceOver Overlay & Navigator, and Networking insights are three major new...

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...

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...