Skip to content

edopelawi/RPSViewControllerPresenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPSViewControllerPresenter

Version License Platform

Present your view controller from anywhere with ease!

Usage

Just call presentViewControllerToTop:animated from [RPSViewControllerPresenter presenter], and subscribe to the returned RACSignal to receive the completion.

UIViewController *viewController = [UIViewController new];
[[[RPSViewControllerPresenter presenter] presentViewControllerToTop:viewController animated:YES] subscribeNext:^(id x){
	NSLog(@"Presenting completed!");
}];

Installation

RPSViewControllerPresenter is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "RPSViewControllerPresenter"

Author

Ricardo Pramana Suranta, ricardo.pramana@gmail.com

License

RPSViewControllerPresenter is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published