TagKit is a small Swift library that brings slugification and tagging functionality to SwiftUI apps. It introduces a Slugifiable protocol for converting strings into URL-friendly slugs with configurable separators and character sets, and a Taggable protocol that gives domain models built-in tag management methods like addTag, removeTag, and toggleTag. The library also includes SwiftUI views such as TagList, TagCapsule, and TagTextField to render and edit tags with customizable styles.

3m read timeFrom danielsaidi.com
Post cover image
Table of contents
How to slugify stringsViewsConclusion
2 Impressions