apple-text-bidi

Community

Seamless bidirectional text handling in editors.

Authorsitapix
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Bidirectional text rendering and cursor behavior in editors can be challenging when handling RTL languages and mixed-direction content. This skill provides guidance on how to correctly manage writing directions across platforms (SwiftUI, AppKit, UIKit) and text APIs to ensure accurate display and interaction for Arabic, Hebrew, and mixed scripts.

Core Features & Use Cases

  • Guidance on configuring and using writing direction controls at multiple layers: SwiftUI layoutDirection, NSParagraphStyle.baseWritingDirection, and .writingDirection attributes on attributed strings.
  • Examples for precise cursor movement, selection handling, and dynamic direction updates in iOS 26 with AttributedString.
  • Real-world scenarios including RTL UI components, mixed-direction paragraphs, and phone-number-like sequences that require preserved digit order.

Quick Start

Ask how to implement robust RTL support across a UITextView by setting baseWritingDirection, applying .writingDirection attributes, and opting into dynamic direction handling where available.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: apple-text-bidi
Download link: https://github.com/sitapix/apple-text/archive/main.zip#apple-text-bidi

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.