A more easily way to passing values across views
SpaceShuttle gives you a more simple way to pass values across views.
It provides a extra parameter supplies
for push pop dismiss present
operation.
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like DKNightVersion in your projects. See the Get Started section for more details.
pod "SpaceShuttle", "~> 1.0.0"
Add one line of code to your precompiled header, or import it where you need.
#import "SpaceShuttle.h"
[self.navigationController pushViewController:succViewController
animated:YES
supplies:@{@"test":@1}];
[self.navigationController popViewControllerAnimated:YES
supplies:@{@"test": @1}];
[self presentViewController:succViewController
animated:YES
completion:nil
supplies:@{@"test":@1}];
[self dismissViewControllerAnimated:YES
completion:nil
supplies:@{@"test":@1}];
Feel free to open an issue or pull request, if you need help or there is a bug.
Typeset is available under the MIT license. See the LICENSE file for more info.
- Documentation
- More features