Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
aschuch committed Jan 12, 2015
1 parent 2c3d24c commit d76fe46
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,38 @@ stateMachine.transitionToState(.None, animated: true) {

## Installation

<strike>pod "StatefulViewController", "~> 0.1"</strike>
#### Carthage

For now, just drag and drop the two classes in the `Source` folder into your project.
Add the following line to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile).

```
github "aschuch/StatefulViewController"
```

Then run `carthage update`.

#### Cocoapods

Add the following line to your Podfile.

```
pod "StatefulViewController", "~> 0.1"
```

Then run `pod install`.

#### Manually

Just drag and drop the two `.swift` files in the `StatefulViewController` folder into your project.

## Tests

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

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

```bash
xctool -scheme Tests -sdk iphonesimulator test
xctool -scheme StatefulViewControllerTests -sdk iphonesimulator test
```

## Todo
Expand Down

0 comments on commit d76fe46

Please sign in to comment.