LogoClawIndex
CasesSkillsAbout
LogoClawIndex

macos-text-and-input - Build macOS TextKit 2 Editors

Guides rich-text editing, text input handling, search, font panels, and SwiftUI integration with TextKit 2 on macOS.

Tags

Updated: 2026-11-08

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Configure TextKit 2 pipelines
  • Set up NSTextView editing
  • Edit attributed strings
  • Embed text attachments
  • Integrate NSTextFinder search
  • Handle keyboard input
  • Integrate the font panel
  • Wrap NSTextView for SwiftUI

Inputs

  • Text content
  • Rich-text attributes
  • Search queries
  • Keyboard events
  • Editor configuration
  • Font settings

Outputs

  • Configured NSTextView editor
  • Attributed text state
  • Find bar interactions
  • Handled keyboard input
  • SwiftUI text-view wrapper

Requirements

  • macOS 26 or later
  • Swift 6.3
  • AppKit framework
  • SwiftUI framework for integration

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
macOS
TextKit 2
NSTextView
rich text
text input
SwiftUI
AppKit
Configure TextKit 2 pipelines
Set up NSTextView editing
Edit attributed strings
Embed text attachments
Text content
Rich-text attributes
Search queries
Configured NSTextView editor
Attributed text state
Find bar interactions