MRARViewDebugger 0.1.0

MRARViewDebugger 0.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2017
SwiftSwift Version 4.0
SPMSupports SPM

Maintained by Matt Robinson.







MRARViewDebugger allows in place view hierarchy visualization of UIViewControllers using ARKit.
The user is given the ability to separate layers by variable distances and scrub through the stack
using a slider similar to what Apple provides in Xcode's built in view debugger.

View Debugging 1 Debugging 2

Debug your views on the device when something goes wrong vs. having to deal with reproducing and/or
attaching to the process in Xcode.

Live using Strava

Requirements

  • ARKit
  • iOS 11

Installation

MRARViewDebugger is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "MRARViewDebugger"

Present the view debugger like this (to be called from a UIViewController):

MRARViewDebuggerViewController *viewController = [[MRARViewDebuggerViewController alloc] initWithViewController:self];
[self presentViewController:viewController animated:YES completion:nil];

Playing around

  1. Open Example/MRARViewDebugger.xcworkspace
  2. Run the target on an iOS 11 device that supports ARKit
  3. Tap on surface once they are visualized
  4. Walk around view debugger 🎉

Author

@m4ttrob

License

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