apple-text-representable
CommunityWrap UITextView / NSTextView in SwiftUI
Authorsitapix
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Wrapping UIKit/AppKit text views inside SwiftUI without breaking editing behavior, preserving focus, sizing, and cursor position.
Core Features & Use Cases
- Provides UIViewRepresentable and NSViewRepresentable wrappers for UITextView and NSTextView.
- Patterns for coordinator, focus management, auto-sizing, and cursor preservation across platforms.
- Includes practical guidance for bridging SwiftUI with TextKit-based text editing.
Quick Start
Create a SwiftUI wrapper around UITextView / NSTextView using UIViewRepresentable / NSViewRepresentable that preserves focus, sizing, and cursor position.
Dependency Matrix
Required Modules
None requiredComponents
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-representable Download link: https://github.com/sitapix/apple-text/archive/main.zip#apple-text-representable Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.