-
Book Overview & Buying
-
Table Of Contents
iOS 26 Programming for Beginners - Tenth Edition
By :
Apple introduced the Foundation Models framework during WWDC25. It is a new framework that allows you to access Apple’s on-device large language model. This text-based model lets you generate new text based on a prompt.
In this chapter, you’ll configure a new screen for the JRNL app that will use the Foundation Models framework to help you write journal entries.
You’ll start by learning about the Foundation Models framework. Next, you’ll review a version of the JRNL app with an additional tab added. This tab displays a new screen that allows you to enter prompts for the large language model and displays the resulting text, but it does not work yet. After that, you’ll add code to implement the required functionality, and finally, you’ll test the app to see how it works.
By the end of this chapter, you’ll have learned the basics of the Foundation Models framework and how to implement it for your own apps...