Member-only story
FoundationChat: Building an AI Chat App with iOS 26’s On-Device Models
Using Apple Foundation Models framework
10 min readJun 26, 2025
After implementing AI features in Ice Cubes using the Foundation Models framework, I wanted to explore what was possible with Apple's new framework.
So I built FoundationChat, a SwiftUI chat app that showcases some of the things you can do with iOS 26’s Foundation Models. And yes, of course it’s open source.
Why Another Chat App?
Let’s be honest, we have enough ChatGPT wrappers. But FoundationChat is different:
- It runs entirely on-device: Your conversations never leave your phone
- It’s a learning resource: Clean, documented code showing real-world patterns