DebugBall
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
Installation
DebugBall is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "DebugBall"Usage
** Commit API Domains **
[DebugManager registerDefaultAPIHosts:NSArray<Domain *> * andH5APIHosts:NSArray<Domain *> *];** Commit User Info **
[DebugManager registerUserDataWithUserID:<NSString *> userName:<NSString *> userToken:<NSString *>;** Commit APNs Token **
[DebugManager registerPushToken:<NSString *>];** Install DebugBall after the key-window of application did initialized **
[self.window makeKeyAndVisible];
[DebugManager installDebugViewByDefault];Discussion
I recommend using the default values I used above.
Author
pjocer, [email protected]
License
DebugBall is available under the MIT license. See the LICENSE file for more info.