File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1+ ### swift3
2+
3+ - Updated for Swift 3 and Xcode 8 compatibility #28 @ldiqual
4+
15### 1.4.0 (2016-04-10)
26
37- Add a variant of ` every ` and ` new(every:) ` that takes a closure with ` NSTimer ` passed in
Original file line number Diff line number Diff line change 1- # SwiftyTimer
1+ # SwiftyTimer (Swift 3)
22
33![ Platforms] ( https://img.shields.io/badge/platforms-ios%20%7C%20osx%20%7C%20watchos%20%7C%20tvos-lightgrey.svg )
44[ ![ CI Status] ( https://api.travis-ci.org/radex/SwiftyTimer.svg?branch=master )] ( https://travis-ci.org/radex/SwiftyTimer )
@@ -53,7 +53,7 @@ let timer = Timer.new(every: 1.second) {
5353}
5454```
5555
56- (This should be defined as an initializer, but [ a bug in Swift ] ( http://www.openradar.me/18720947 ) prevents this)
56+ (This should be defined as an initializer, but [ a bug in Foundation ] ( http://www.openradar.me/18720947 ) prevents this)
5757
5858Call ` start() ` to schedule timers created using ` new ` . You can optionally pass the run loop and run loop modes:
5959
@@ -81,7 +81,7 @@ Timer.every(5.seconds) { (timer: Timer) in
8181If you're using CocoaPods, just add this line to your Podfile:
8282
8383``` ruby
84- pod ' SwiftyTimer'
84+ pod ' SwiftyTimer' , git: ' https://github.com/radex/SwiftyTimer.git ' , branch: ' swift3 '
8585```
8686
8787Install by running this command in your terminal:
@@ -101,7 +101,7 @@ import SwiftyTimer
101101Just add to your Cartfile:
102102
103103``` ruby
104- github " radex/SwiftyTimer"
104+ github " radex/SwiftyTimer" " swift3 "
105105```
106106
107107#### Manually
You can’t perform that action at this time.
0 commit comments