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
Collectionis 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
PriceFormatter- Formats numeric values as prices in
StringAdditions- For checking whether a
Stringis not empty.
UIButtonextension for debouncing button taps.
UIColorextension for getting a lighter / darker shade of a given colour. Details
UIViewextension for rounding view corners individually.
To run the example project, clone the repo, and run
pod install from the Example directory first.
gem install cocoapods
To install TailorSwift using Cocoapods, simply add the following line to your Podfile:
Then run the command:
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:
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.
TailorSwift is available under the MIT license. See the LICENSE file for more info.
- AnimatedGradientView - Powerful gradient animations made simple for iOS.
- 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.
- FlexibleRowHeightGridLayout - A UICollectionView grid layout designed to support Dynamic Type by allowing the height of each row to size to fit content.
- 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.
- Clear DerivedData - Utility to quickly clear your DerivedData directory simply by typing
cddfrom the Terminal.
- 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|