Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:daisuke0131/ViewMonitor into dev…
Browse files Browse the repository at this point in the history
…elop
  • Loading branch information
daisuke0131 committed Nov 6, 2015
2 parents cfc80f6 + 0fce306 commit 0e947ca
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ github "daisuke0131/ViewMonitor"
If you don't use CocoaPods and Carthage, you should add `Source/*` files in your project.

## How to use
#### For Swift Project

First, ```import ViewMonitor```

Execute ```ViewMonitor.start()``` after application started.
Expand All @@ -72,6 +74,29 @@ After that, execution button appear.

Please, refer to Example/ViewMonitorExample

#### For Objective-C Project
Add bridge-header in your project.
Add ```#import "YourProjectName-Swift.h"``` in your project.

Import ViewMonitor,
```@import ViewMonitor```

Execute ```[ViewMonitor start]``` after application started.
Like this
```
#import "YourProjectName-Swift.h"
@import ViewMonitor;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
[ViewMonitor start];
return YES;
}
```
After that, execution button appear.

Please, refer to Example/ViewMonitorObjcExample

## Author
### developer
[Daisuke Yamashita](https://github.com/daisuke0131)
Expand Down

0 comments on commit 0e947ca

Please sign in to comment.