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:
MyDebugHelper *viewDebuger = [[MyDebugHelper alloc] initWithWindow:self.window];
// tell CCDebugHelper to show list of controllers
// this method will show first view controller from config list
You can find CCDebugHelper on Github here.
Note: Because of problems with Cocoapods you will need to import CCDebugHelper from Github like this:
A nice library to aid with interface debugging.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.