Skip to content

Commit

Permalink
Add Cartfile line
Browse files Browse the repository at this point in the history
  • Loading branch information
loufranco committed Sep 5, 2016
1 parent 8c83080 commit 3266916
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -5,3 +5,9 @@ PlaygroundSupportMock is an iOS Framework that is meant to mock the behavior of
Right now the main benefit of this framework is that you can author the Contents.swift and LiveView.swift files for .playgroundbook packages and they will build in Xcode. There isn't much runtime support to have the book do anything in the simulator, but you could hook up your LiveView to your AppDelegate and show it. You could also run your playground code in Unit Tests.

To really run the book, you need to put it on your iPad and load it into the Swift Playgrounds app. This makes sure that the code will compile once you do that.

You can install this into your project with Carthage and the following line in your Cartfile:

```
github "loufranco/PlaygroundSupportMock"
```

0 comments on commit 3266916

Please sign in to comment.