Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KHViewControllerHierarchy

What does it do?

Exposes some simple methods for determing which UIViewController is currently at the 'top' of the view controller stack.

Provides an interface for showing a view (by default a large, highly transparent grey circle) that triggers an alert view with the current 'top' view controller's hierarchy.

alt text

Why?

For people working on a new code base, it provides a simple way to find out the inheritance hierarchy of the screen (UIViewController) they're staring at.

Notes

Not to be used in release code - enable the mode only within #DEBUG or similar.

Future Updates

  • Implement UIPopoverController
  • Add CocoaPods support

Wishlist

  • Indicate chosen viewController
  • Allow selection of a specific view controller (ie if a container view controller has two VISIBLE child view controllers)
  • Allow selection of container view controllers themselves (ie UINavigationController, UITabBarController)
  • Allow selection of a view
  • Show inheritance hierarchy for a given view

About

A simple demo application that uses KHViewControllerHierarchy to show a UIAlertView with hierarchy of current 'top' UIViewController subclass.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages