The addition of Writing Tools into into the native controls is a welcome addition and a great way to interact with Apple Intelligence.
WWDC24 promised the ability to integrate Writing Tools if you have your own custom views in UIKit. Unfortunately, at the time of writing, this doesn’t seem to completely work with the current beta builds of iOS 18.1 (the first build to really start including Apple Intelligence).
Therefore, this module will provide an overview of what you have to do to get your own custom UIText view going. You can’t currently test the theory or view demonstrations of the concepts in use. This will change once Apple releases complete support for custom UITextViews and Writing Tools in a later version of iOS 18. Once this happens we’ll be sure to update this lesson with specific details, and sample code, so you can delve deep into how this exciting new technology works.
In the meantime, this lesson contains a lot of the theory behind the new Writing Tools features, and by the end of this lesson you will have learned:
Describe how to enable Writing Tools functionality for custom text views.
Explain how to implement the UITextInput protocol on a UIView to support Writing Tools interactions.
See forum comments
This content was released on Oct 16 2024. The official support period is 6-months
from this date.
A brief note about this lesson.
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.