Skip to content

Commit

Permalink
Fixup startDebugServer() documentation
Browse files Browse the repository at this point in the history
It seems that startRenderInspectorServer() was renamed to startDebugServer()
  • Loading branch information
jondwillis committed Feb 7, 2018
1 parent 43db364 commit 22153c4
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 22153c4

Please sign in to comment.