apple-text-find-replace

Community

Implement find & replace in Apple text editors.

Authorsitapix
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provide practical guidance for adding robust find and replace to Apple platform text editors, including UIFindInteraction, NSTextFinder, and efficient replace-all.

Core Features & Use Cases

  • UIFindInteraction integration for iOS text views and custom editors, enabling a native find UI and search flow.
  • NSTextFinder support on macOS to deliver a native find bar experience within editors.
  • Highlighting strategies for search results using temporary attributes or rendering attributes, plus safe, backward-ordered replace-all to preserve text offsets.
  • Real-world use: implement find and replace in a custom editor, perform per-match highlighting, and execute batch replacements without corrupting ranges.

Quick Start

Describe how to implement find and replace in a simple Apple text editor, wiring UIFindInteraction for iOS and NSTextFinder for macOS, and integrate backward-ordered replace-all.

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-find-replace
Download link: https://github.com/sitapix/apple-text/archive/main.zip#apple-text-find-replace

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.