gain the current visible controller with single line of code.
- download TopController and try out the program example.
- check out the article top Controller
- if you find a bug , and can provide steps to reliably reproduce it, open an issue.
- if you have a feature request, open an issue.
- if you want to contribte, submit a pull request.
it supports multiple methods for installing the library in a project.
- Podfile
to integrate TopController into your Xcode project using CocoaPods, specify it in you Podfile
:
target 'TargetName' do
pod 'TopController'
end
Then, run the following command:
$ pod install
just drag the topController
folder into you project.
TopController Version | Minimum iOS Target | Notes |
---|---|---|
0.0.1 | iOS 7 |
just#import "TopController.h"
and then call[TopController topController];
to gain the visible controller;
TopController is released under the MIT license. See LICENSE for details.