Open Source iOS Library For Faster User Interface Debugging

I’ve mentioned a number of projects to aid in debugging user interfaces such as Hierarchy Detective which allows you to see user interface elements in a 3d space.

Here’s an open source library submitted by Rafa? Wójcik designed to help aid in debugging interfaces by allowing you to define all view controllers in your application so you can easily list them and decide which should appear on start. You can also define actions that should show before a controller shows.

Here’s an exmaple from the readme showing how to initialize CCDebugHelper and display all controllers in a list and show a specific controller:

// initialize CCDebugHelper with application window
MyDebugHelper *viewDebuger = [[MyDebugHelper alloc] initWithWindow:self.window];

// tell CCDebugHelper to show list of controllers
[viewDebuger showControllersList];

// this method will show first view controller from config list
[viewDebuger showControllerWithConfigIndex:0];

You can find CCDebugHelper on Github here.

Note: Because of problems with Cocoapods you will need to import CCDebugHelper from Github like this:

pod ‘CCDebugHelper’, :git => ‘https://github.com/ChilliCoders/CCDebugHelper’

A nice library to aid with interface debugging.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source iOS Library For Faster User Interface Debugging

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *