|
Stewart Lynch News 2026 - 20
Please pass on the subscription link to others in your sphere so I can broaden my reach. https://stewartlynch.kit.com/
|
|
|
Latest Videos
I am deep in to featuring all of the new apis that were introduced at WWDC 2026 and the last two videos are two of them
Mastering SwiftUI Reordering in iOS 27 Lists, Grids & Sections
Learn SwiftUI’s new iOS 27 reordering API for lists, grids, SwiftData persistence, and section-to-section moves—all with a practical walkthrough of reorderable, reorderContainer, and the model updates needed to keep your UI in sync.
SwiftUI iOS 27 - Smarter Toolbars, Overflow & Tab Bars
Learn how SwiftUI’s new toolbar and tab bar APIs help you prioritize important actions, manage overflow intentionally, pin must-have controls, build data-driven toolbar content, and minimize chrome while scrolling—all while letting SwiftUI adapt the layout as space changes.
|
|
|
What's Next?
Over the next three weeks, my focus will be on the iPhone Duo. Here are the first two that you will see before my next newsletter.
iPhone Duo: What Happens to Your Existing iOS Apps?
Apple’s iPhone Duo introduces new screen sizes and poses, but you may not need to redesign your app immediately to provide a reasonable experience. In this video, I test the same iPhone-only app built with Xcode 26, Xcode 27, and an iPhone Duo-compatible version of Xcode to show exactly how the layout changes on the new device.
You’ll see why older builds can be letterboxed or display black borders, how a newer build improves the open-device layout, and why rebuilding with the Xcode version that supports iPhone Duo is the essential first step before submitting an update. I also walk through Device Hub, app installation, and transferring an app container with persisted data between simulators.
Your iPhone App Needs This Before Supporting iPhone Duo
Before adding iPhone Duo-specific features, it is worth making sure an iPhone-only app already adapts well to iPad, landscape, and larger screen sizes. In this video, I update a portrait-only SwiftUI app while keeping its existing iOS 26.5 deployment target. The result is an app that makes much better use of available space without leaving existing users behind.
You’ll see how NavigationSplitView improves a recipe list and detail layout, how sidebar-adaptable tabs respond to available width, how to simplify an overcrowded toolbar, how larger iPhones can use landscape split navigation, and how to keep a SwiftUI search field visible. These changes provide a practical foundation for the next step: supporting iPhone Duo poses and folding layouts.
|
|
|
Trailing Closure Syntax in Swift and SwiftUI
SwiftUI code can sometimes look like its own language, especially when you first encounter syntax like Button { } label: { } or List { ForEach { } }. In my latest post, I break down the Swift feature behind it all: trailing closure syntax. I start with fully explicit function calls, then show exactly how Swift lets us move closure arguments outside the parentheses without changing what the code does.
The most useful idea to remember is that the first trailing closure loses its argument label, while additional trailing closures keep theirs. I apply that rule to common SwiftUI APIs including Button, List, ForEach, toolbar, and onDelete. I also cover closures that receive parameters, functions with multiple closure parameters, and when a named function such as deleteRows can be passed directly instead of wrapping it in another closure.
If SwiftUI syntax has ever felt mysterious or difficult to decode, this article will help you read it from the inside out. Understanding the explicit form first makes the concise, idiomatic SwiftUI form much easier to recognize, write, and troubleshoot.
https://www.createchsol.com/blog/2026-10-07-trailing-closure-syntax-in-swift-and-swiftui.html
|
|
|
This Week's Tip
Finding the Default Text Size in Xcode 27 Device Hub
When using Device Hub in Xcode 27, you can change the simulated device’s Dynamic Type size using the Text Size slider. Unfortunately, the slider doesn’t label the individual positions, which makes it difficult to tell whether you’ve returned to the normal system text size.
The standard/default Dynamic Type size is Large, which corresponds to:
swift DynamicTypeSize.large
You don’t have to guess where the slider should be. With your simulator running, open Terminal and enter:
bash xcrun simctl ui booted content_size
This reports the Dynamic Type size currently being used by the booted simulator. At the standard setting, it should report:
text large
If you’ve been experimenting with different text sizes and simply want to restore the simulator to the default, use:
bash xcrun simctl ui booted content_size large
This is much more reliable than trying to position Device Hub’s unlabeled Text Size slider by eye.
|
|
|
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
|
|
|