Revert is a reference iOS project developed to help test the performance and accuracy of Reveal, a runtime view hierarchy inspection tool from Itty Bitty Apps. It contains a number of examples which highlight both common and edge case scenarios. Revert is a universal iOS 7+ app that supports both portrait and landscape orientations.
We're releasing Revert so the community can compare the features and accuracy of the various view debuggers on the market and for our own regression and feature testing.
We've tried to include as many scenarios as possible, but if you'd like to add your own or suggest one that should be supported, please feel free to create a pull request or contact us directly via our online support.
Follow the steps below to start inspecting Revert with Reveal:
- Download Reveal.
- Download and clone the repository:
git clone https://github.com/revealapp/revert.git
- Open Revert:
open revert/Revert.xcodeproj
- Follow the integration guide to enable Revert to be inspected by Reveal. We'd suggest dynamically loading the library via a User breakpoint as the easiest and most flexible option.
- Run the project: ⌘ + R
- Launch Reveal and connect to Revert.
Revert has helped us isolate changes in behaviour between iOS versions and verify that Reveal handles them correctly. As an example, the behaviour of constraints and transforms changed between iOS7 and iOS8. Any view controller in Revert dealing with transforms (TransformViewsViewController
, TransformLayersViewController
, AnchorPointBoundsChangeViewController
) will behave differently when run on these two version of iOS. For more information please see this blog post.
This work is licensed under a BSD 3-Clause License.