rich-text-notes

Builds a SwiftUI rich text editor with UITextView bridge and formatting toolbar.

5|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/nsnguyen/ios_app_rag_calendar --skill rich-text-notes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rich-text-notes
Source: https://github.com/nsnguyen/ios_app_rag_calendar/tree/main/.claude/skills/rich-text-notes
Command: npx skills add https://github.com/nsnguyen/ios_app_rag_calendar --skill rich-text-notes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a blueprint for implementing a feature-rich note editor in iOS using SwiftUI, supporting bold, italic, headings, lists, checklists, and image embedding while preserving rich text data for persistence and indexing.

Core Features & Use Cases

  • Rich text editing in SwiftUI via a UITextView bridge that renders NSAttributedString.
  • Formatting toolbar controls for bold, italic, headings, bullet lists, and checklists.
  • Data storage and plain-text extraction to support RAG indexing in planner-style apps.

Quick Start

Implement a SwiftUI view for rich text editing, bridge it to a UITextView, wire up a basic formatting toolbar, and store archived NSAttributedString data with a plain-text extraction path for search.

Frequently Asked Questions about rich-text-notes

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

FAQPage Schema
How do I build a rich text editor in SwiftUI with formatting like bold and headings?

To build a rich text editor in SwiftUI, you bridge a UITextView to render NSAttributedString and wire up a formatting toolbar for bold, italic, headings, lists, and checklists. This approach enables rich text editing directly within SwiftUI views.

Can I persist NSAttributedString data and extract plain text for search indexing in iOS?

Yes, you can persist NSAttributedString data by archiving it to Data for storage. The same rich text editor extracts plain text from the attributed string, enabling RAG indexing and seamless search functionality in planner apps.

Does SwiftUI support inline images and checklists in a UITextView bridge?

SwiftUI supports inline images and checklists by bridging UITextView to render NSAttributedString. This integration provides a feature-rich note editor experience, allowing image embedding and checklist formatting within your SwiftUI application.

What's the best way to handle formatted content paste in a SwiftUI note editor?

The best way to handle formatted content paste in a SwiftUI note editor is by using a UITextView bridge that accepts NSAttributedString. This preserves rich text formatting during pasting and stores it safely via archiving.

How does a UITextView bridge work for rich text editing in SwiftUI?

A UITextView bridge works by wrapping UIKit's UITextView to display and edit NSAttributedString within SwiftUI. It translates rich text formatting commands from a SwiftUI toolbar into attributed string modifications for persistent storage.

How do I store rich text notes with embedded images for a planner app?

To store rich text notes with embedded images, archive the NSAttributedString containing inline images into Data. This persisted data preserves all formatting and image attachments for your planner app's local storage.