String

BonMot

2568

Beautiful, easy attributed strings for iOS.

TextAttributes

1936

An easier way to compose attributed strings.

SwiftString

1424

A comprehensive, lightweight string extension. This library was motivated by having to search StackOverflow for common string operations, and wanting them to be in one place with test coverage.

format

1144

Simple formatting syntax for decimal numbers, currency, mass, addresses, ordinal numbers and hexadecimal colors.

styled-text

910

Declarative text styles and streamlined Dynamic Type support for iOS.

SwiftyAttributes

885

Extensions that make it a breeze to work with attributed strings.

DefaultStringConvertible

722

Never implement var description: String again. Simply import DefaultStringConvertible and conform to CustomStringConvertible and get a default type description for free.

Enjoy iOS Cookies?

Consider making a small donation to help me keep the site running!   

Smile

500

😄 Emoji in Swift.

Typographizer

439

Fix dumb quotation marks and apostrophes.

Attributed

379

A Modern interface for attributed strings.

Mustard

263

Library for tokenizing strings when splitting by whitespace doesn't cut it.

Formatting

240

Type-safe, functional string formatting inspired by Chris Done's excellent Haskell library.

SwiftRichString

163

Elegant & painless attributed strings management library.

StringFormatter

159

Simple Text Formetter (Credit Card Number, Phone Number, Serial Number etc.)

Guitar

108

A cross-platform string library.

Atributika

11

Easily build NSAttributedString by detecting and styling HTML-like tags, hashtags, mentions, RegExp or NSDataDetector patterns.