- Sep 13, 2025
September 13, 2025 Update
- Mark Moeykens
- BMS News
Hi again!
💻 Digital Nomading
Last time you heard, I was heading to Oaxaca, Mexico.
Oaxaca's elevation was lower than Puebla's, so it was a little warmer but still comfortable.
😷 Unfortunately, I got really sick there and was out of commission for a week!
During that time, I made no progress on AI Mastery in SwiftUI. ☹️
📘 AI Mastery in SwiftUI
I opened up a beta version of the book to 100 people to proofread, and all 100 spots were taken within an hour!
That really surprised me how fast it went, but it's good that so many people are interested in how to use the FoundationModels framework for their own apps.
🙏 Thank you to all the proofreaders who have submitted feedback so far!
📚Another Book Restructuring
I hit a problem in how to order/structure how I teach something in the book.
See, there are two ways you can get a response from the model.
And when I say "model", I mean the AI language model, which is called the LanguageModelSession object in the FoundationModels framework.
You can get the generated response:
All at one time.
Or you can get "chunks" of the generated response, little by little, until it is done.
2️⃣ Two Ways for the Model to Respond to Prompts
Originally, I taught the reader only the first method, the all-at-once (or "one-shot") method.
I thought this was good enough, and later I would introduce how to do the streaming method in a separate chapter.
❌ The Problem
Unfortunately, I started to realize that this doesn't work well because it's almost like rewriting the whole book from the perspective of streaming the response from the model, which includes:
Concepts of how it works
Your first conversation
How to use all the different Prompts with it
All of the modeling options and settings you can use with it
All of the ways you can control your responses
How to guide your generations with options and custom objects you want created
How to use it with Tools
And any other topics that might be added in the future
I soon realized it didn't make sense to teach it this way.
✅ The Solution
The solution I came up with was to teach them both, side-by-side.
So, right at the beginning of the book, I introduce the concept of streaming along with the all-at-once method and explanations of how streaming works:
Most of the examples in the book still use the all-at-once method.
Fortunately, the function signatures are practically identical between the two methods.
Whatever you can do with one, there is a very high chance you can do with the other!
🪄Join the Waitlist
If you're interested in exploring how to add AI features to your apps, make sure to join the waitlist to be notified when "AI Mastery in SwiftUI" is available!
And proofreaders, keep the feedback coming!
(Google Form link on the download page.)