ViewMonitor can measure view positions with accuracy. This library is to check design sheet from native app.
behave like this.
- UIViewController
- UITableViewController
To run the example project, clone the repo.
- iOS 8.0+
- Xcode 7.0+
ViewMonitor is available through CocoaPods. To install it, simply add the following line in your Podfile:
pod "ViewMonitor"
This library use swift.
so, you have to add use_frameworks!
in Podfile.
after that, please run
pod install
To install, you can also use Carthage.
You can install Carthage with Homebrew.
$ brew update
$ brew install carthage
To integrate ViewMonitor into your Xcode project using Carthage, write the following line in your Cartfile.
github "daisuke0131/ViewMonitor"
If you don't use CocoaPods and Carthage, you should add Source/*
files in your project.
First, import ViewMonitor
Execute ViewMonitor.start()
after application started.
Like this
import ViewMonitor
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
ViewMonitor.start()
return true
}
After that, execution button appear.
Please,refer to Example/ViewMonitorExample
ViewMonitor is available under the MIT license. See the LICENSE file for more info.
How to measure UIView position on Native App at potatotips #18