CPSwiftExtencions
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
CPSwiftExtencions is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CPSwiftExtencions'
How to use
Example of implementation
import CPSwiftExtencions
func example(){
var d = Date()
//add days on current date
d.add(days: 5)
print(d)
//add hours on current date
d.add(hours: 12)
print(d)
//add hours on current date
d.add(minutes: 10)
print(d)
}
Author
Cristiano Diniz Pinto, [email protected]
License
CPSwiftExtencions is available under the MIT license. See the LICENSE file for more info.