Stewart Lynch Newsletter 2025-7


Stewart Lynch News
​2025-7

Please pass on the subscription link to others in your sphere so I can broaden my reach.
​https://stewartlynch.kit.com​

This Week's Video

In this week's video, we explored the Transition protocol introduced in iOS 17 and how it allows us to control how views enter and exit the view hierarchy in SwiftUI. We dived into both built-in AnyTransition types and custom transitions, showing how to combine them for more dynamic UI effects.

🔥 What was taught:

âś… Simple transitions like opacity, slide, move, scale, and offset

âś… Combining transitions for complex effects

âś… Creating custom transitions using the ViewModifier protocol

âś… Using asymmetric transitions for different enter/exit animations

âś… Practical tips for enhancing your SwiftUI apps with smooth UI effects

video preview​

What is Coming?

Next week I present the second video on creating transitions between views. In Understanding contentTransition in SwiftUI – Smoothly Animate Text, Symbols & More! we'll dive into the power of the contentTransition modifier in SwiftUI, introduced in iOS 17. Unlike the transition modifier, contentTransition allows us to animate changes within a view’s content rather than replacing the entire view.

Do You Vibe Code?

I have to admit that, up until recently, I didn’t fully understand what the term Vibe Coding actually meant. By definition, vibe coding is a programming approach that uses AI, specifically large language models (LLMs), to generate software code based on natural language prompts.

Instead of manually writing code, programmers describe what they want to achieve, and the LLM generates the code. This shifts the focus to guiding, testing, and refining the AI-generated output.

Have You Tried This?

There are lots of options for vibe coding when using Xcode. Apple has hinted at this direction but has yet to deliver a full solution. In the meantime, if you’re creating iOS apps, you can use tools like Cursor AI, the GitHub Copilot extension for Xcode, or Alex Sidebar, all right within Xcode. I’ve personally been using ChatGPT for macOS.

That’s right. ChatGPT for macOS has been updated with tight integration into Xcode. Without modifying anything in Xcode itself, you can easily invoke ChatGPT with your current file or selected lines as context for your prompt. This works either directly within the ChatGPT app or via the ChatBar, which I prefer since I’ve set up a keyboard shortcut for quick access.

If you have Xcode running and invoke the ChatBar, once you’ve enabled Xcode by tapping the button shown here, it will recognize your current view:

You can ask ChatGPT anything:

It will churn away. You can choose to have it automatically apply the changes to your code, or just show a diff that you can review and apply manually:

I’m not a huge user of vibe coding, but I do like using it to generate suggestions, whether to improve existing code, create mock data, or provide quick examples I can use in my videos.

It’s far from perfect. You’ll get the best results by pointing out mistakes and asking it to refine its output.

If you have code that just isn’t working, let ChatGPT take a crack at figuring out the problem.

I like having the option, but I hesitate to recommend relying on it to build your app. Nothing beats experience. The more you know, and the more specific your prompts are, the better the results you’ll get.

For the SF Symbol Browser app I’m developing, I knew exactly what I wanted to accomplish for the Mac menu bar app portion, but I had no idea how to do it. I had always used MenuBarExtra in SwiftUI, but it didn’t give me what I needed, so I had to turn to using an AppDelegate.

I had no idea what I was doing, so I created a very simple sample project and asked ChatGPT to iterate with me on what I wanted to achieve. By working incrementally outside of my main project, I was able to have a productive back-and-forth with ChatGPT until I had a working solution. It wasn’t immediate. ChatGPT gave me lots of bad or broken code, but I persisted and eventually got there. After that, it was easy to integrate the working code into my main project.

As an aside, I really dislike Xcode’s predictive code completion and have turned it off. I’m comfortable enough with my coding skills that I don’t need Xcode second-guessing me, and I found it was just slowing me down.

How About You?

I’d love to hear your thoughts and experiences with vibe coding. Are you using any AI tools in your Xcode workflow?

My Other Stuff

Channel Listing App

A Searchable Mac app containing a list of all of my YouTube videos including the ability to watch them in the app and download starter and completed source code

Free on Gumroad

CustomGPT

A custom ChatGPT that has indexed the transcripts of my videos.
Add to your ChatGPT Sidebar​

Smile4Me Course

Learn how to build a multi-targeted app using a Jokes API.
Don't let the low cost of the course fool you into believing that low cost means low content. 6.5 hours of content and 56 videos.

​Enrol in the course

Affiliate Links

Affiliate Links

Below are a number of affiliate links for products that I not only endorse but use all the time. I will never endorse something that I do not believe in.

RocketSim - Build Apps Faster 

This is an invaluable tool when working with the simulator in Xcode.

   https://gumroad.com/a/122988499/ftvbh 

BigMountain Studio Books 

Mark Moeykens is a master at creating SwiftUI reference books. I have purchased every one of these books and refer to them all the time.

Use this link and we both will benefit

​https://www.bigmountainstudio.com/a/77jt8​

113 Cherry St #92768, Seattle, WA 98104-2205
​Unsubscribe · Preferences​

Stewart Lynch

Join over 23,000 YouTube subcribers who are mastering Swift and SwiftUI.Level up your iOS development skills with concise tutorials and professional development tips delivered straight to your inbox. Subscribe now for exclusive discounts, insider insights, and curated highlights from my 350+ YouTube tutorials.

Read more from Stewart Lynch

Stewart Lynch News2025-14 Subscribe to my YouTube Channel Please pass on the subscription link to others in your sphere so I can broaden my reach.https://stewartlynch.kit.com WWDC 2025 First Impressions and What's Next I’m still trying to take in everything that was announced at WWDC on Monday. With 120 sessions available, I’ve already bookmarked 50 that I want to go through over the next couple of weeks. I’ll begin with the “What’s New in…” sessions and go from there. Each week, I’ll share...

Stewart Lynch News2025-13 Subscribe to my YouTube Channel Please pass on the subscription link to others in your sphere so I can broaden my reach.https://stewartlynch.kit.com This Week's Video This week I launched a brand new series with one goal: to build a reusable SF Symbol Picker Swift Package that you can easily integrate into any project. In the first video, we focused on an essential skill for iOS and macOS development: decoding property lists (plists). You learned how to: Create and...

Stewart Lynch News2025-12 Subscribe to my YouTube Channel Please pass on the subscription link to others in your sphere so I can broaden my reach.https://stewartlynch.kit.com This Week's Video In this week's video, I explored two exciting new additions introduced at WWDC24: • Accessing section subviews (headers, content, and footers) • Using the new ContainerValue struct for dynamic view behaviour I walked you through two practical examples: enhancing a basic list with stylized sections and...