Apple Intelligence Writing Tools Integration
Integrates Apple Intelligence Writing Tools into standard and custom iOS/macOS text editors.
This skill provides comprehensive guidance for wiring Apple Intelligence Writing Tools into Apple's text-editing stack, including UITextView, NSTextView, and custom text engines. It enables developers to configure AI behaviors, declare protected ranges to prevent code corruption, manage activity lifecycles to sync data safely, and adopt UIWritingToolsCoordinator for fully custom rendering environments. It is an essential tool for developers building modern Apple-platform apps that need to support AI-driven rewrites, summaries, and proofreading while maintaining document integrity.
Key Features
01Adopt UIWritingToolsCoordinator for custom text engines and game UIs
02Declare protected ranges to exclude code blocks and citations from AI modification
030 GitHub stars
04Configure UIWritingToolsBehavior for inline or panel-only AI experiences
05Manage session lifecycles using willBegin/didEnd to pause sync engines and undo managers
06Implement PresentationIntent for structured document hints and multi-format output
Use Cases
01Preventing Apple Intelligence from corrupting code snippets in a developer-focused notes app
02Integrating AI 'Rewrite' and 'Summarize' features into a custom Markdown editor
03Enabling the full 'Apple Intelligence' animation suite for a custom-rendered text view