File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed
Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff 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
92112Open 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
You can’t perform that action at this time.
0 commit comments