Open pbassut opened 9 years ago
I was looking for how I could show a view controller(right or left). I found this issue: https://github.com/pkluz/PKRevealController/issues/158
I knew how it could be solved. Still I went there for a better solution than having to call a method with an argument that's inside the instance that the method is being called in the first place(understand?).
Shouldn't this become a feature request?
Something like: [self.revealController showLeftViewController];
[self.revealController showLeftViewController];
Which would be syntax suggar for: [revealController showViewController:revealController.leftViewController];
[revealController showViewController:revealController.leftViewController];
What you guys think?
[self.navigationController.revealController showViewController:self.navigationController.revealController.leftViewController animated:YES completion:^(BOOL finished) { // Completition code if any }];
I was looking for how I could show a view controller(right or left). I found this issue: https://github.com/pkluz/PKRevealController/issues/158
I knew how it could be solved. Still I went there for a better solution than having to call a method with an argument that's inside the instance that the method is being called in the first place(understand?).
Shouldn't this become a feature request?
Something like:
[self.revealController showLeftViewController];
Which would be syntax suggar for:
[revealController showViewController:revealController.leftViewController];
What you guys think?