apple-text-spell-autocorrect

Implement spell checking and autocorrect in Apple text editors using UITextChecker and NSSpellChecker.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/sitapix/apple-text --skill apple-text-spell-autocorrect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apple-text-spell-autocorrect
Source: https://github.com/sitapix/apple-text/tree/main/skills/apple-text-spell-autocorrect
Command: npx skills add https://github.com/sitapix/apple-text --skill apple-text-spell-autocorrect

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implement spell checking, autocorrect, and text-completion features in Apple text editors across iOS and macOS, including how to handle the trap of UITextInteraction in custom UITextInput views.

Core Features & Use Cases

  • Guidance for configuring UITextView/NSTextView spell checking and autocorrection, and for custom UITextInput implementations.
  • Strategies to disable spell checking for code editors and to avoid private API pitfalls.
  • Clear explanation of cross-platform differences between iOS and macOS spell-check frameworks and practical usage tips.

Quick Start

Use this skill to implement spell checking and autocorrect in your Apple text editor projects.

Frequently Asked Questions about apple-text-spell-autocorrect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure spell checking and autocorrect in UITextView and NSTextView?

To configure spell checking and autocorrect in UITextView and NSTextView, adjust text input traits and apply UITextChecker or NSSpellChecker APIs. This enables built-in spelling validation and automated text replacement for Apple text editors.

How do I implement spell checking and text completion in a custom UITextInput view?

Implement spell checking and text completion in custom UITextInput views by integrating UITextChecker APIs. This allows custom text editors to access system spelling suggestions and predictive text completion while avoiding private API pitfalls.

What is the UITextInteraction trap in custom UITextInput views and how do I avoid it?

The UITextInteraction trap is a safety hazard in custom UITextInput implementations causing unexpected behavior during spell checking. Avoid it by following specific configuration best practices for text interaction modes and UITextChecker integration.

What are the cross-platform differences between iOS and macOS spell-check frameworks?

Cross-platform differences between iOS and macOS spell-check frameworks center on UITextChecker and NSSpellChecker API usage. Understanding these distinctions ensures consistent spell checking and autocorrect behavior across Apple platforms.

How do I disable spell checking for code editors in Apple text views?

Disable spell checking for code editors in UITextView or custom UITextInput views by modifying text input traits. This prevents the system from autocorrecting code syntax and stops unwanted spelling validation during programming.