Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this lesson, you’ve seen how Writing Tools can appear custom text views, even when those views do not rely on a familiar native text view.

Generally speaking, it’s labor-intensive to roll your own text view based on UITextInput rather than extending UITextView. If the thought intrigues you though, here are a couple resources to learn more:

  • Adopting UITextInteraction, a blog post by PSPDFKit engineer Stefan Kieleithner.
  • UITextInteractionExample, a helpful little sample code repo from Mark A. Vitale.
  • Runestone: Simon Støvring’s terrific text editor for iOS that creates a custom text view based on UITextInput and also is a handy developer tool to have on your phone and iPad.

Creating your own text views is a worthy exercise as you will gain a deeper of text rendering as well as provide a deeply configured experience to your end user.

See forum comments
Download course materials from Github
Previous: Instruction