PixelPerfect 0.1.0

PixelPerfect 0.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Aug 2015

Maintained by Yuri Kobets.



  • By
  • Yuri Kobets

Compare mockup design with a user interface on iOS

You can inspect an implemented user interface. Setup your mockup images with corresponding view controllers in AppDelegate. You can see the diff of images using inversion of design mockup.

Features

  • show mockup image to compare with a user interface
  • change the mockup image transparency
  • invert colors

Usage

Create dictionary with class name and corresponding mockup image name. In the status bar appears buttons "show/hide" and "settings". Now you can compare mockup image with actual user interface.

#ifdef DEBUG
    NSDictionary *classesImagesDictionary = @{ NSStringFromClass([ExampleViewController class]) : @"add-point.png" };
    [[PIXELPerfect shared] setControllersClassesAndImages:classesImagesDictionary];
#endif

Install

Install with CocoaPods. Add next lines to Podfile

platform :ios, '7.0'

pod 'PixelPerfect', git: 'https://github.com/ykobets/PixelPerfect'