I’ve mentioned some tools for analyzing the view structure within an app such as hierarchy viewer.
Here’s a simple library called UIViewController-Swizzled from Rui Peres that allows you to automatically map view controllers used within an application.
You simply need to add a line of code into your app delegate, and UIViewController+Swizzled will display something like this:
2013-09-09 18:58:42.361 Testing[25399:c07] —> RPViewController
2013-09-09 18:59:55.072 Testing[25399:c07] —–> RPSecondViewController
2013-09-09 18:59:57.367 Testing[25399:c07] ——-> RPThirdViewController
2013-09-09 18:59:58.801 Testing[25399:c07] —–> RPSecondViewController
2013-09-09 19:00:00.282 Testing[25399:c07] ——-> RPThirdViewController
2013-09-09 19:00:01.906 Testing[25399:c07] ———> RPViewController
2013-09-09 19:00:03.515 Testing[25399:c07] ——-> RPThirdViewController
2013-09-09 19:00:04.267 Testing[25399:c07] —–> RPSecondViewController
2013-09-09 19:00:05.041 Testing[25399:c07] —> RPViewController
2013-09-09 19:00:07.193 Testing[25399:c07] —–> RPSecondViewController
2013-09-09 19:00:08.312 Testing[25399:c07] ——-> RPThirdViewController
2013-09-09 19:00:09.396 Testing[25399:c07] ———> RPViewController
2013-09-09 19:00:10.183 Testing[25399:c07] ———–> RPSecondViewController
2013-09-09 19:00:10.905 Testing[25399:c07] ————-> RPThirdViewController
2013-09-09 19:00:12.141 Testing[25399:c07] —————> RPViewController
2013-09-09 19:00:13.156 Testing[25399:c07] —————–> RPSecondViewController
You can find UIViewController-Swizzled on Github here.
A nice library if you find yourself quickly needing to analyze your view setup.
- Open Source: Library For Easily Laying Out iOS Views Programmatically With Many Different Formatting Options
- Open Source iOS Library For Creating Modal Views That Automatically Blurs The Background
- Tutorial: Custom In View Popup Windows
- Open Source: Extremely Useful Library For Debugging And Perfecting iOS User Interfaces
- iOS Library For Automatically Creating CRUD Interfaces (Scaffolding) Using A Core Data Model
Original article: Simple Library Allowing You To Map Views Used In Your Apps
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.