Skip to content

Commit d76fe46

Browse files
committed
update README
1 parent 2c3d24c commit d76fe46

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

README.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,38 @@ stateMachine.transitionToState(.None, animated: true) {
8383

8484
## Installation
8585

86-
<strike>pod "StatefulViewController", "~> 0.1"</strike>
86+
#### Carthage
8787

88-
For now, just drag and drop the two classes in the `Source` folder into your project.
88+
Add the following line to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile).
89+
90+
```
91+
github "aschuch/StatefulViewController"
92+
```
93+
94+
Then run `carthage update`.
95+
96+
#### Cocoapods
97+
98+
Add the following line to your Podfile.
99+
100+
```
101+
pod "StatefulViewController", "~> 0.1"
102+
```
103+
104+
Then run `pod install`.
105+
106+
#### Manually
107+
108+
Just drag and drop the two `.swift` files in the `StatefulViewController` folder into your project.
89109

90110
## Tests
91111

92112
Open the Xcode project and press `⌘-U` to run the tests.
93113

94-
Alternatively, all tests can be run in the terminal using [xctool](https://github.com/facebook/xctool) (once it is ready for Xcode 6).
114+
Alternatively, all tests can be run from the terminal using [xctool](https://github.com/facebook/xctool).
95115

96116
```bash
97-
xctool -scheme Tests -sdk iphonesimulator test
117+
xctool -scheme StatefulViewControllerTests -sdk iphonesimulator test
98118
```
99119

100120
## Todo

0 commit comments

Comments
 (0)