Extensions
The framework includes a set of useful for iOS development things.
Components
CALayer Extension
Extends CALayer by adding delayed start, pause and resume all animations.
Double Extension
Adds to the Double a correct string representation and truncation method with precision.
NSCalendar Extension
An NSCalendar extension for getting first and last day of the calendar unit and a list of dates that are in the specified range.
NSDate Extension
An NSDate extension to create a date from the formatted string and vice versa.
UIDevice Extension
An UIDevice extension for getting the device’s full model name, such as iPhone 6s Plus or iPad Air.
Requirements
- iOS 9.0+
- Swift 4.1+
Installation
Carthage
To integrate Extensions
into your project using Carthage, specify it in your Cartfile
:
github "valery-bashkatov/Extensions" ~> 3.0.0
And then follow the instructions to install the framework.
Documentation
API Reference is located at http://valery-bashkatov.github.io/Extensions.