Skip to content

Commit 6370df4

Browse files
committed
Update Readme
1 parent 9cc8769 commit 6370df4

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

README.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,23 +63,35 @@ timer.start(modes: NSDefaultRunLoopMode, NSEventTrackingRunLoopMode)
6363

6464
## Installation
6565

66-
The simplest way to install this library is to copy `Sources/SwiftyTimer.swift` to your project. There's no step two!
67-
68-
#### CocoaPods
69-
70-
You can also install this library using CocoaPods. Just add this line to your Podfile:
66+
If you're using CocoaPods, just add this line to your Podfile:
7167

7268
```ruby
7369
pod 'SwiftyTimer'
7470
```
7571

76-
Then import library module like so:
72+
Install by running this command in your terminal:
73+
74+
```sh
75+
pod install
76+
```
77+
78+
Then import the library in all files where you use it:
7779

7880
```swift
7981
import SwiftyTimer
8082
```
8183

82-
Note that this requires iOS 8 or OS X 10.9+
84+
#### Carthage
85+
86+
Just add to your Cartfile:
87+
88+
```ruby
89+
github "radex/SwiftyTimer"
90+
```
91+
92+
#### Manually
93+
94+
Simply copy `Sources/SwiftyTimer.swift` to your Xcode project.
8395

8496
## More like this
8597

0 commit comments

Comments
 (0)