Back to walidsassi.com

Beyond the Prompt: Foundation Models as an Architectural Layer in iOS with Mohammad Azam

Swift Academy Podcast, Episode 10, Season 2 Beyond the Prompt: Foundation Models as an Architectural Layer in iOS Mohammad Azam on why Apple’s on-device LLM is less an AI feature and more a redefinition of where intelligence lives in your app, @Generable, @Guide, instructions, tools, and adapter-based fine-tuning, viewed through the lens of iOS layered architecture. May 3, 2026 🎧 Swift Academy Podcast · Episode 10, Season 2 · Foundation Models • On-Device LLM • iOS Architecture “Foundation Models is not a chat surface. It is a typed, on-device, structured capability you wire into your architecture, the way you wire in URLSession or SwiftData. Treat it like a chatbot and you will build bad apps. Treat it like a layer and you will build defensible ones.” ...

May 3, 2026 · 12 min · Walid Sassi

iOS 26, SwiftUI and Accessibility with Natalia Panferova

Swift Academy Podcast, Episode 5, Season 2 iOS 26, SwiftUI & Accessibility A conversation with Natalia Panferova, former Apple SwiftUI engineer, author of three essential Swift books, and champion of accessible iOS experiences. 🎧 Swift Academy Podcast · Episode 5, Season 2 · iOS 26 • SwiftUI • Accessibility “Accessibility is not a feature you add at the end. It’s a design principle that shapes every decision you make as an iOS developer.” Natalia Panferova, Co-founder of Nil Coalescing Watch the Episode About This Episode Few people are better positioned to talk about the future of SwiftUI and iOS 26 than Natalia Panferova. A former member of Apple’s SwiftUI team, she brings rare insider perspective to the frameworks that millions of developers use every day. Today, she channels that expertise as co-founder of Nil Coalescing alongside Matthaus Woolard, a studio dedicated to world-class Swift education and tooling. ...

November 2, 2025 · 6 min · Walid Sassi

Building Interactive Timelines in SwiftUI: From Static Views to Draggable Events

Ever wondered how to build intercative that feel natural and responsive? The kind where users can drag events and see real-timeupdates? SwiftUI’s combination of GeometryReader, alignementGuide, and gesture handling makes this suprisingly elegant. Let’s build from scratch and the understand the magic behind positioning elements on a timeline. The Challenge: Positioning Events in Time magine you need to visualize events that occur over time, think of a video timeline, project milestones, or async operations. The core challenge is: How do you position an element at a specific time on a timeline of unknown width? ...

August 3, 2025 · 6 min · Walid Sassi

Understanding SwiftUI ViewBuilder: The Magic Behind Declarative Syntax

SwiftUI’s declarative syntax often feels like magic. You can write natural-looking code with if statements, multiple view expressions, even loops, and somehow, it all just works. But how? The secret lies in ViewBuilder, one of Swift’s most powerful tools that transforms your declarative code into optimized SwiftUI types. Let’s dive into what makes this possible. The Foundation: Result Builders Before focusing on ViewBuilder itself, it’s important to understand what it’s built on: Swift’s Result Builder system (previously called Function Builders). ...

July 16, 2025 · 4 min · Walid Sassi

Custom Conditional ViewBuilders in SwiftUI: Advanced Patterns and Pitfalls

Remember when we first discovered @ViewBuilder in Part 1? That moment when everything clicked and you thought “wow, I can create my own SwiftUI-style components!” It was pretty exciting, wasn’t it? The declarative syntax, the composability, the way it all just… worked. Well, I hate to be the bearer of bad news, but today we’re going to talk about a pattern that might seem like the next logical step,but is actually a beautiful trap waiting to catch enthusiastic SwiftUI developers. ...

July 5, 2025 · 6 min · Walid Sassi

Understanding `@ViewBuilder` in SwiftUI: Build Custom Views with Declarative Syntax

SwiftUI’s @ViewBuilder is a powerful attribute that enables us to create custom view components with a declarative and flexible syntax, just like native SwiftUI containers (VStack, HStack, etc.). In this article, we’ll explore: What is @ViewBuilder and why it matters How to create a custom view that accepts a @ViewBuilder closure What happens under the hood when SwiftUI processes a @ViewBuilder closure Practical use cases and benefits What is @ViewBuilder? @ViewBuilder is a special attribute that lets you write multiple views inside a closure, and SwiftUI will automatically combine them into a single view result. It acts like a function builder specialized for views. ...

June 28, 2025 · 2 min · Walid Sassi