Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ViewMonitor Version License Carthage

What's ViewMonitor

ViewMonitor can measure view positions with accuracy. This library is to check design sheet from native app. behave like this.

  • UIViewController demo
  • UITableViewController demo

Usage

To run the example project, clone the repo.

Requirements

  • iOS 8.0+
  • Xcode 7.0+

Installation

cocoaPods

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

Carthage

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"

Manually

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. Like this

import ViewMonitor
func applicationDidFinishLaunching(_ application: UIApplication) {
  ViewMonitor.start()
}

After that, execution button appear. Please, refer to Example/ViewMonitorExample

Author

developer

Daisuke Yamashita

designer

Satomi Nogawa

License

ViewMonitor is available under the MIT license. See the LICENSE file for more info.

Other

How to measure UIView position on Native App at potatotips #18

You can’t perform that action at this time.