|
Stewart Lynch News 2026 - 13
Please pass on the subscription link to others in your sphere so I can broaden my reach. https://stewartlynch.kit.com/
|
|
|
Swift Macros: Two Videos. No More Excuses
Macros have been in Swift for a while now. If you still haven't dug in, these two recently released videos will fix that. Part 1 builds #URL — a freestanding expression macro that catches bad URLs at compile time, not at runtime. You'll write real macro expansion code, inspect syntax trees, and fire custom Xcode diagnostics. It's less scary than it sounds.
Part 2 builds @CaseIdentifiable — an attached macro that looks at your enum, pulls out its cases, and writes the Identifiable conformance for you. Automatically. Every time. You'll also handle associated values and misuse diagnostics like a pro.
Both videos come with starter and completed projects on GitHub. Watch Part 1 first.
|
|
|
New Blog Post: Presenting SwiftUI Sheets with Enums
Managing multiple sheets in SwiftUI can quickly become messy when every sheet needs its own Boolean state. A much cleaner approach is to use an enum that represents every possible destination, giving you a single source of truth for sheet presentation.
In my latest blog post, I demonstrate how to use enums that conform to the View protocol to simplify sheet management, reduce boilerplate, and make your code easier to read and maintain. It’s a practical technique that scales well as your app grows and is one I find myself using regularly in SwiftUI projects.
If you’re looking for a cleaner, more maintainable way to present multiple sheets in SwiftUI, I think you’ll find this approach useful.
Read the full post here:
https://www.createchsol.com/blog/2026-07-01-enum-sheets.html
|
|
|
Coming Up on YouTube
Over the next two weeks, I have two new SwiftUI videos coming your way.
The first shows how to add drag-and-drop reordering to both lists and grids. You’ll learn how to let users rearrange items with a modern SwiftUI approach that works across different layouts while keeping the implementation straightforward and maintainable. This video was recorded prior to WWDC 26 and the introduction of the new SwiftUI APIs for reordering. Since those APIs are not ported to earlier OS versions, this video is still relevant to those of you who have to support older OS versions.
The second explores the new Swift Search experience. We’ll look at the latest SwiftUI search APIs and see how they can help you build a richer, more intuitive search interface than ever before.
As always, both videos include complete sample projects that you can download and follow along with. I hope you’ll join me over the next couple of weeks as we explore these popular SwiftUI features.
|
|
|
Updated Website
I’ve recently refreshed my website at https://www.createchsol.com to make it much easier to find and access all of my content in one place.
The YouTube Playlists and Tutorials page now includes every video on my channel, not just the 10 most recent uploads. I’ve also added full search functionality, making it easy to find videos on specific Swift or SwiftUI topics. If you prefer browsing on the web, there’s no longer much need to download my Channel Listing app, although the app still offers additional features that aren’t available on the website.
The Application Portfolio page has also been reorganized. You’ll find my App Store apps grouped together, all of which are either completely free or offer a generous free trial with an inexpensive in-app purchase to unlock the full version. I’ve also included sections for my Gumroad applications, all of which are free or pay-what-you-want, along with my open source projects on GitHub.
Finally, I’ve updated Stewart's Blog with searchable tags and a built-in search field, making it much easier to find posts on topics that interest you. While my blog library isn’t yet as extensive as my YouTube catalog, I’m committed to publishing a new blog post every two weeks.
If you haven’t visited the site recently, I invite you to take a look. I hope you’ll find it to be a valuable resource for all of my videos, blog posts, applications, and open source projects.
|
|
|
A Short Break in Wine Country
My wife and I took a few days away last week for our annual wine tour through British Columbia’s beautiful Okanagan Valley. We used to own a home in Kelowna, so we got to know many of the region’s wineries over the years and developed quite an appreciation for the local wines.
Now we make it a point to return a couple of times each year to revisit some of our favorite wineries, discover a few new ones, and, of course, bring home a selection of wine. The weather was perfect, and it was a wonderfully relaxing getaway.
If you’re ever planning a trip to the Okanagan and enjoy wine, feel free to reach out. I’d be happy to recommend some of my favorite wineries, especially the smaller boutique vineyards that are easy to overlook.
I’m back home now and diving into all the new OS 27 APIs. It’s time to get into the details, and I’m looking forward to sharing a new round of videos and blog posts with you very soon.
|
|
|
If you enjoy what I do and want to support my work, you can join my Ko-fi community and either make a one-time donation or become a monthly supporter for as little as $5/month. Monthly supporters get early access to my videos as soon as they’re uploaded to YouTube (as unlisted videos), sometimes up to a month before they’re made public. Monthly supporters also get priority responses to their questions, and I’m happy to help with coding challenges.
In addition to PayPal, Ko-fi now supports Stripe, which makes it easier to pay by credit card.
|
|
|
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
SymbolBrowser App
Browse Apple's complete SF Symbols library from your menu bar. Search, preview effects, customize colors, generate SwiftUI/UIKit/AppKit code, and copy symbols as images — all without leaving your workflow. Available on Gumroad: (Pay what you want)
GitHub Directory Downloader for Mac
This simple app lets you download any specific directory from any GitHub repository—whether it's public or private. Just copy the folder URL, paste it into the app, and download exactly what you need. It remembers your download locations, keeps a history of what you've grabbed, and even supports branch selection. Perfect for developers who want quick access to starter projects, code examples, or specific folders without the hassle of cloning entire repositories. Available on Gumroad: (Pay what you want)
Smile4Me Course
The course is now Free to download from: https://stewartlynch.github.io/Smile4Me-Course-Content/
|
|
|
Affiliate Links
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
|
|
|