Apple Bidi & RTL Text Handler

0•

Optimizes bidirectional text rendering and Right-to-Left (RTL) layout behavior across Apple's text-editing stacks.

This skill provides specialized guidance for managing bidirectional (Bidi) text and RTL languages like Arabic and Hebrew within Apple's ecosystem, including SwiftUI, UIKit, and AppKit. It helps developers navigate the complexities of mixing LTR and RTL content by bridging the gap between logical storage and visual representation. Use it to resolve common issues such as 'jumping' cursors, misaligned layouts, and reordered digits, while implementing modern features like iOS 26 Natural Selection and TextKit 2 best practices.

주요 기능

01Implementation of Unicode bidi controls (LRM, RLM, FSI, PDI)
020 GitHub stars
03Resolution of visual vs. logical order cursor and selection bugs
04Best practices for mixed-direction content and phone number formatting
05Comprehensive RTL support for SwiftUI, UIKit, AppKit, and Core Text
06Support for iOS 26 Natural Selection and multi-range selections

사용 사례

01Debugging non-linear cursor movement in custom UITextInput implementations
02Ensuring phone numbers and URLs display correctly within Arabic or Hebrew prose
03Adding full RTL localization support to an existing iOS or macOS application