TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Nov 2015 |
SPMSupports SPM | ✗ |
Maintained by Logan Shire.
This library contains a collection of utility functions and extensions to help make code cleaner and more readable.
TypeTools contains a function to produce a hashable key from a type.
UIButtonExtensions contains an extension to UIButton which adds a cornerRadius property which is configurable and designable through interface builder.
UIColorExtensions contains an extension to UIColor which adds convenience initializers for RGB integer components and RGB hex values.
UIImageViewExtensions contains an extension to UIImageView which adds an imageURL property. When set, this fetches the image asynchronously and sets it as the imageView’s image propety.
UIViewAutolayoutExtensions contains utility functions and an extension to UIView which simplify writing AutoLayout constraints.
To run the example project, clone the repo, and run pod install
from the Example directory first.
iOS 8.3 or Greater
ToolKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SwiftToolKit"
Logan Shire, [email protected]
ToolKit is available under the MIT license. See the LICENSE file for more info.