TailorSwift 2.0.1

TailorSwift 2.0.1

LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jul 2019
SPMSupports SPM

Maintained by Ross Butler.


CI Status Version Carthage compatible Maintainability License Platform Swift 5.0

Tailor the Swift language to your needs by choosing from a number of extensions comprising useful functions missing from the core libraries. Available as a Cocoapod for ease of inclusion into your projects.

  • CollectionAdditions - Map directly to an array of distinct elements / check whether a Collection is not empty.
  • DictionaryAdditions - Instantiate a Swift dictionary from an array of tuples.
  • NSAttributedStringAdditions - Trim attributed strings in the same way as would a regular string. Details
  • StringAdditions - For checking whether a String is not empty.
  • UIButtonAdditions - UIButton extension for debouncing button taps.
  • UIColorAdditions - UIColor extension for getting a lighter / darker shade of a given colour. Details
  • UIViewAdditions - UIView extension for rounding view corners individually.


To run the example project, clone the repo, and run pod install from the Example directory first.




CocoaPods is a dependency manager which integrates dependencies into your Xcode workspace. To install it using RubyGems run:

gem install cocoapods

To install TailorSwift using Cocoapods, simply add the following line to your Podfile:

pod "TailorSwift"

Then run the command:

pod install

For more information see here.


Carthage is a dependency manager which produces a binary for manual integration into your project. It can be installed via Homebrew using the commands:

brew update
brew install carthage

In order to integrate TailorSwift into your project via Carthage, add the following line to your project's Cartfile:

github "rwbutler/TailorSwift"

From the macOS Terminal run carthage update --platform iOS to build the framework then drag TailorSwift.framework into your Xcode project.

For more information see here.


Ross Butler


TailorSwift is available under the MIT license. See the LICENSE file for more info.

Additional Software




  • Cheats - Retro cheat codes for modern iOS apps.
  • Connectivity - Improves on Reachability for determining Internet connectivity in your iOS application.
  • FeatureFlags - Allows developers to configure feature flags, run multiple A/B or MVT tests using a bundled / remotely-hosted JSON configuration file.
  • Hash - Lightweight means of generating message digests and HMACs using popular hash functions including MD5, SHA-1, SHA-256.
  • Skylark - Fully Swift BDD testing framework for writing Cucumber scenarios using Gherkin syntax.
  • TailorSwift - A collection of useful Swift Core Library / Foundation framework extensions.
  • TypographyKit - Consistent & accessible visual styling on iOS with Dynamic Type support.
  • Updates - Automatically detects app updates and gently prompts users to update.
Cheats Connectivity FeatureFlags Skylark TypographyKit Updates
Cheats Connectivity FeatureFlags Skylark TypographyKit Updates


  • Config Validator - Config Validator validates & uploads your configuration files and cache clears your CDN as part of your CI process.
  • IPA Uploader - Uploads your apps to TestFlight & App Store.
  • Palette - Makes your TypographyKit color palette available in Xcode Interface Builder.
Config Validator IPA Uploader Palette
Config Validator IPA Uploader Palette