In the first two lessons of this module, you have learned how to interact with Foundation Models in a SwiftUI app, starting with the most basic response and progressing to a streamed response that provides the user with a better experience and faster feedback. You then learned the strengths and weaknesses of LLMs, along with the additional limitations of a local model, such as Apple Foundation Models, and ways to mitigate and manage these limitations. You also learned about the methods the framework provides for tweaking and adjusting the model’s output, including temperature, sampling methods, and instructions.
In this lesson, you will learn about two of the most useful and powerful features of Apple Foundation Models. First, you’ll explore guided generation, which provides a way to easily generate entire Swift data structures with Foundation Models. You will then explore Tools which provide a way to extend the model and assist with answering a prompt with information otherwise unavailable to the model.
See forum comments
This content was released on Oct 2 2025. The official support period is 6-months
from this date.
Introduction
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.