|ReleasedLast Release||Dec 2014|
Maintained by Unclaimed.
|LOCLines of Code||30|
UIView category that gives back the corresponding UIViewController for each UIView (and descendant)
Whenever you create a new control or a descendant of UIView and want for example to display a modal dialog or push a ViewController to the Navigation Controller, you need a reference to the corresponding UIViewController, where the view is placed on.
This category adds the property viewController AND navigationController to each and every UIView/UIControl ... that´s it ;-)
Where to use it for? Well, if you want to push a new viewController to your navigationController stack ... just for example. I think this property should be part of the UIView class