AI Mastery in SwiftUI

  • Jun 29, 2025

June 29, 2025 BMS Updates

On Friday, I traveled from Mexico City to San Miguel de Allende, approximately 4 hours northwest of Mexico City. The landscape was vibrant and green with lots of hills.

During that ride, I think I nailed down the beginnings of an outline for the new AI book, "AI Mastery in SwiftUI".

The little town of San Miguel is a great spot for creating the beginning of a new book.

Tried Creating A Quick AI App

I tried vibe-coding an AI app using Apple's new FoundationModels framework.

It was disastrous! 😂

Because of my lack of advanced knowledge and limited understanding of what to actually prompt for, I couldn't quite achieve what I wanted.

That's when I knew I had to write this book first. 😃

I'm discovering there is so much more than what WWDC let on, and I can't wait to share this knowledge with all of you!

The First Step Is Always the Hardest

As many of you know, my books are very visual, and I like to introduce a subject by teaching concepts.

This is to give you a starting point so you can think with a subject and clear up any misunderstandings no one really talks about.

This (along with trying to design the book cover) is always the hardest part of the whole book.

Code is easy. It works or it doesn't work. You know right away.

Teaching a concept, well, that's a different story.

Where do you start?

How do you teach a concept?

How do you visualize this concept on a page?

Foundation Models

I started to just jump in and teach Foundation Models.

But I stopped and thought, "Do you even know what a foundation model is?" "Will your readers?"

So I wanted to back up a little bit and start from the beginning:

How does AI work?

Yeah, there are specialized models (a lot of them are open source) that one can start with and train for specific tasks with specific knowledge.

When Apple trained its Foundation Model, they had to balance between size and speed.

Too big and it'll run too slowly on your users' iPhones.

So that's where I'm starting.

At least the cover is finally done...for now. I may change it 50 more times later. Yeah, it's a little too dark, right? 😆


Books Now on Amazon

I was able to get a lot of my books on Amazon and price-adjusted to match purchasing power in different markets.

The markets offered by Amazon are limited, though:

  • US Kindle Store: United States

  • UK Kindle Store: United Kingdom (including Guernsey, Isle of Man, Ireland, Gibraltar, and Jersey)

  • DE Kindle Store: Austria, Germany, Liechtenstein, Luxembourg, and Switzerland

  • FR Kindle Store: France, Monaco, Belgium, Switzerland, and Luxembourg

  • ES Kindle Store: Andorra, Spain

  • IT Kindle Store: Italy, San Marino, Vatican City, and Switzerland

  • JP Kindle Store: Japan

  • NL Kindle Store: Netherlands

  • BR Kindle Store: Brazil

  • MX Kindle Store: Mexico

  • CA Kindle Store: Canada

  • IN Kindle Store: India

  • AU Kindle Store: Australia, New Zealand

Missing Books

I found out there is a daily upload limit for Kindle books.

Then I ran into trouble with some of the book uploads. I thought it was because of the limit, but it's been 3 days now and I still can't upload these books:
Canada

  • SwiftData Mastery in SwiftUI

  • Core Data Mastery in SwiftUI

  • Combine Mastery in SwiftUI

I just get a generic error:

Sorry, we couldn’t process your file. Someone from our customer service team will contact you within 24 hours.

They never do contact me.

So I'm not really sure what to do at this point. Sorry!