Tell me about writing tools.

Asked on 2024-07-30

1 search

Writing Tools Overview

Writing tools is a new suite of features available in text fields across iOS, iPadOS, and macOS. These tools help users proofread, rewrite, or transform text in text views. Here are some key points about writing tools:

  • Proofreading and Suggestions: Writing tools can proofread text, showing mistakes like misspellings and grammar errors. Users can review and accept suggestions in-line.
  • Text Transformation: The tools can rewrite text to make it more friendly, professional, or concise. They can also summarize text, convert it into key points, or transform it into lists or tables.
  • Integration: Writing tools appear on top of the keyboard when text is selected and in the context menu on macOS. They are available in native text views and can be invoked easily.
  • Rich Text Support: The tools fully support rich text by using attributed strings, preserving styles, links, and attachments.
  • Non-Editable Text: Writing tools also work with non-editable text, showing results in a panel that users can copy or share.

How to Implement Writing Tools

  • Native Text Views: If you are using UITextView, NSTextView, or WKWebView, writing tools will work automatically. For full functionality, ensure you are using TSC2.
  • Custom Text Views: For custom text views, you can get a basic experience for free. More advanced integration requires implementing specific delegate methods to control behavior and protect certain text ranges.

Sessions to Watch

For more detailed information, consider watching the following sessions:

  1. Get started with Writing Tools
  2. Platforms State of the Union
  3. What’s new in AppKit

These sessions cover the introduction, integration, and advanced features of writing tools, as well as their interaction with other Apple technologies.