Apple Spell Check & Autocorrect

0•

Configures and troubleshoots system spell checking, autocorrect, and predictive text services for iOS and macOS text views.

This skill provides deep technical guidance for implementing and debugging Apple's text-editing stack, covering everything from basic property configuration on UITextView and NSTextView to advanced custom implementations using UITextChecker and NSSpellChecker. It specifically addresses the critical 'correction trap' where custom UITextInput views fail to apply suggestions due to private API restrictions, offering architectural workarounds to ensure a seamless user experience without App Store rejection. It is essential for developers building specialized editors, code editors, or custom text input components on Apple platforms.

Key Features

01Configuration of UITextInputTraits and AppKit text properties for iOS and macOS.
02Custom spell checking logic implementation using UITextChecker and NSSpellChecker.
030 GitHub stars
04Troubleshooting for missing spell-check underlines and broken autocorrect triggers.
05Specialized settings for code editors to prevent character mangling (smart quotes, etc).
06Architectural patterns to bypass the private API correction trap in custom views.

Use Cases

01Optimizing a code editor by disabling all intrusive system text transformations.
02Building a custom text input component that requires manual spell-check UI control.
03Fixing issues where system correction popovers appear but fail to apply changes.