home

Not only Swift

Xcode tips & tricks, Swift, SwiftUI, Firebase, computing and internet history, and - of course - some fun stuff.

Read and trusted by engineers from:

Apple logoLeica Camera logoGoogle logoPayPal logoSAP logoIKEA logo
To: Subscribers of Not only Swift
Date: August 4, 2026
Issue: 99
Re: Swift in the browser, @State as a macro & AI function bodies

Hi everyone,

In this issue, you’re in for a real treat - I’ve scoured my database of collected links over the past few weeks and selected some truly mind-blowing articles and tools.

We’ll look at Swift macros - specifically how the new @State macro works in Xcode 27, and how Miguel de Icaza’s AgenticSwift lets you write function bodies in plain English using an @ai macro.

Speaking of Swift - how about running Swift in the browser? Or - even wilder - writing and running Swift in an entirely browser-based IDE? Check out MiniSwift (and try the interactive playground demo right in the issue!).

We’ll also look at hooks for Apple’s Foundation Models framework, self-sizing sheets in SwiftUI, and travel back 60 years in computing history to ELIZA!

Let me know your thoughts by hitting reply or tagging me on your social platform of choice!

Thanks for reading,

Peter

Swift

What's New at WWDC 2026

by Martin Blishtan

How MiniSwift Works

by Ugur Toprakdeviren

SwiftUI

SwiftUI: @State is a macro

by Nikita Vasilev

AI & Machine Learning

Swift: Hooks for Foundation Models

by Itsuki

AgenticSwift — AI Macros for Swift

by Miguel de Icaza

Is AI ruining our skills? Early results are in

by Scientific American

Computing History

The first chatbot · ELIZA (1966)

by Finding Eliza