apple-text-recipes

Provide ready-to-run TextKit recipes for common Apple text-view tasks.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/sitapix/apple-text --skill apple-text-recipes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apple-text-recipes
Source: https://github.com/sitapix/apple-text/tree/main/skills/apple-text-recipes
Command: npx skills add https://github.com/sitapix/apple-text --skill apple-text-recipes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building UI for Apple text views often requires assembling multiple snippets across TextKit and AppKit; this Skill provides quick, ready-to-use recipes to perform common tasks without digging through docs.

Core Features & Use Cases

  • Quick, working snippets for common TextKit tasks (background color, line numbers, character/word limits, links, placeholders, auto-growing text views, and more) across UITextView and NSTextView.
  • Platform-coverage guidance and practical use cases to help choose the right approach for iOS, macOS, and cross-platform scenarios.
  • Real-world example: a developer drops in a ready-made recipe to implement a placeholder in a UITextView and to enable clickable links in a non-editable editor.

Quick Start

Ask for a ready-to-use Text Recipe, and you will receive a working Swift snippet for a common text task.

Frequently Asked Questions about apple-text-recipes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a placeholder to a UITextView in Swift?

You can add a placeholder to a UITextView by dropping in a ready-made TextKit recipe that provides a working Swift snippet for immediate integration into your Apple text view.

How do I make clickable links in a non-editable UITextView?

To make clickable links in a non-editable UITextView, you apply a ready-to-run TextKit recipe that configures the text view to handle link interactions automatically.

How do I implement line numbers and character limits in NSTextView?

Implementing line numbers and character limits in NSTextView involves applying ready-to-use TextKit recipes that configure these constraints specifically for AppKit text views.

What is the best way to create an auto-growing UITextView using TextKit?

The best way to create an auto-growing UITextView is to use a ready-made TextKit recipe that dynamically adjusts the view height based on text content changes.

Can I format text wrapping and background colors across both iOS and macOS?

Yes, you can format text wrapping and background colors across both iOS and macOS by applying TextKit recipes designed for cross-platform coverage across UITextView and NSTextView.