Skip to content

Commit

Permalink
Merge pull request #99 from jondwillis/patch-1
Browse files Browse the repository at this point in the history
Fixup startDebugServer() documentation
  • Loading branch information
alexdrone committed Feb 9, 2018
2 parents 43db364 + 22153c4 commit d953ad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ Changes in the collection results in fine grain table changes (add/remove/move c

When the app is run in the simulator it is possible to inspect Render components, their properties and state with the [inspector companion mac app](https://github.com/alexdrone/Render/raw/master/inspector/dist/render-inspector.zip).

To enable the debug server in your app you simply have to import the `RenderInspector` framework and call `startRenderInspectorServer()` in your AppDelegate `application(_:didFinishLaunchingWithOptions)`.
To enable the debug server in your app you simply have to import the `RenderInspector` framework and call `startDebugServer()` in your AppDelegate `application(_:didFinishLaunchingWithOptions)`.

```swift

Expand All @@ -300,7 +300,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
/// Starts the debug server at localhost:8080/inspect
startRenderInspectorServer()
startDebugServer()
...
}
```
Expand Down

0 comments on commit d953ad2

Please sign in to comment.