Skip to content
This repository was archived by the owner on Jun 13, 2019. It is now read-only.

Commit 16f97b3

Browse files
authored
Merge pull request #22 from VincentNarbot/master
Update Dotzu.sharedManager.displayWindow() to Dotzu.sharedManager.enable()
2 parents c6ad964 + ec1f908 commit 16f97b3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Be careful to use Dotzu for development purpose only.
2929
func application(_ application: UIApplication,
3030
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
3131
#if DEBUG
32-
Dotzu.sharedManager.displayWindow()
32+
Dotzu.sharedManager.enable()
3333
#endif
3434
return true
3535
}
@@ -56,11 +56,12 @@ Dotzu use `URLProcotol` to logg the request. Can can add the logger on a custom
5656
<a href="http://promisesaplus.com/">
5757
<img src="https://cloud.githubusercontent.com/assets/3276768/22646311/02988ba2-ec6c-11e6-8870-08b88ec1ce1c.gif" align="right" />
5858
</a>
59+
5960
```swift
6061
//Your custom configuration
6162
let configuration = URLSessionConfiguration.default
6263

63-
//Add the network logger on the configuration
64+
///Add the network logger on the configuration
6465
Dotzu.sharedManager.addLogger(session: configuration)
6566

6667
//Use it:

0 commit comments

Comments
 (0)