
Explore foundation models, prerequisites, and compatible machines; integrate the framework with SwiftUI and streaming guided generation to power a recipe app that lets you select ingredients.
Identify prerequisites for the foundation models course: have Swift language and Swift UI knowledge, install Xcode 26 on Mac OS 26, and use Apple Silicon Mac, since Intel won't work.
Learn to build a foundation models framework app in SwiftUI with Xcode 26 on Apple silicon, using the playground macro and language model session to run prompts and view results.
Learn how to stream responses in the foundations model framework by loading a transcript, summarizing prompts, and delivering partial results in real time for fluid user interfaces.
Understand guided generation in the foundation model framework by building a generable Swift struct for make, model, and year to produce a JSON array of car objects.
Learn how tools operate within the foundation model framework, including creating tools, tool protocols, third-party resources, and guiding models with instructions for better responses.
Integrate foundation model framework into a SwiftUI app by checking Apple intelligence availability and model readiness. Stream programming jokes through an observable programmer joke maker.
Learn to verify foundation model availability on a device by editing the scheme to simulate device not eligible or Apple intelligence not enabled, then test on the simulator.
Learn to build a recipes app with the foundation models framework using the starter project to select ingredients, generate recipes and steps, and explore json api and swift data persistence.
Implement a recipe model and a recipe recommender, structuring code with DTO and persistence, defining a recipe with name and description, and configuring a Swift six language model session.
Implement a suggest recipes function by building a prompt from selected ingredients to request 3 to 5 recipes, stream the async response, and inject a recipe recommender into the app environment.
Demonstrates how Xcode 26 beta 2 and macOS beta 2 trigger guardrail errors in an ingredient-based app, and outlines workarounds like partial ingredient lists.
Display recipes on screen by selecting ingredients, navigating from the content view to the recipe list screen, and rendering recipe names and descriptions from a recipe recommender.
Learn to add recipe steps by introducing a recipe step struct with order and instructions, display them on a dedicated recipe detail screen, and stream steps via the recipe recommender.
Display recipe steps by turning the list into a reusable recipe cell view and linking to a detail screen, then load steps with a recipe recommender.
Explore building a tool that lets the on-device foundation model access third-party APIs via a JSON server, while the LM decides when to invoke it, keeping data private and fast.
Implement an http client to fetch recipe data from a hard-coded gist url, decode JSON into a recipe dto, and return an array of recipe dto objects.
Implement a recipe tool that fetches pakistani rice recipes via an http client, conforming to a tool protocol with ingredients as arguments, and return combined recipe names and descriptions.
Integrate the recipe tool in the swiftui app by injecting an http client, wiring the recommender, and fetching pakistani rice recipes when the ingredient includes rice.
Persist foundation model recommendations by saving recipe suggestions locally with Swift data. Explore the starter project, select ingredients, view recipes and cooking instructions, and learn to build Swift data models.
create swift data models to persist foundation model outputs into sqlite database with swift data, and display them on screen, including recipe model and recipe step model with one-to-many relationship.
Add a favorites feature by wiring an on save closure in the recipe cell view to persist recipes and steps to SQLite using Swift data for offline storage.
Learn to persist changes in a SwiftData model by injecting a model context through the environment, using an in-memory preview container for previews, and saving recipe data with foundation models.
Display persisted recipes by adding a favorites workflow that uses Swift data, a favorite list screen, and sqlite-based local persistence to save foundation model recommendations.
Continue learning with the foundation model framework course, get up-to-date content and a 40% discount with coupon Udemy, and explore future sections on recipe app and API integration.
This hands-on course is your gateway to understanding and using Apple’s powerful new Foundation Models Framework. Whether you're an iOS developer or just curious about integrating Apple Intelligence into your apps, this course will walk you through everything you need to get started and go beyond the basics.
You'll learn how to:
Get started with the Foundation Models Framework
Interact with Apple Intelligence models using prompts
Stream responses in real-time
Use guided generation with @Guide and @Generable
Create and integrate tools for natural language tasks
Seamlessly connect the Foundation Models API with your SwiftUI apps
Whether you want to generate content, build creative tools, or enhance user experiences with natural language understanding, this course provides a solid foundation (pun intended).
Who Is This Course For?
This course is designed for iOS developers, SwiftUI enthusiasts, and tech-curious professionals who want to explore the possibilities of integrating Apple Intelligence into their apps using the new Foundation Models Framework. Whether you're building productivity tools, creative assistants, or simply experimenting with AI-driven interfaces, this course will help you get up and running—fast.
It's also ideal for:
Developers eager to explore prompt engineering and generative AI
Engineers looking to leverage on-device Apple Intelligence
Swift learners who want to stay ahead with cutting-edge frameworks
Why Take This Course?
Apple's Foundation Models Framework opens a new frontier for building apps that understand and respond to natural language in real-time—all running privately on device. This course helps you:
Learn by doing: Build real SwiftUI features with AI assistance
Understand key concepts: Prompting, streaming, and guided generation
Use official Apple frameworks: No third-party AI dependencies
Level up your app experiences: Add intelligent features users will love
Stay future-ready: Be among the first to master Apple’s next-gen tools
By the end, you’ll be confident in using Apple Intelligence to build smart, seamless, and private-by-default apps powered by on-device machine learning.