Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Show left or right UIViewController programmatically. #220

Open
pbassut opened this issue Mar 14, 2015 · 1 comment
Open

Show left or right UIViewController programmatically. #220

pbassut opened this issue Mar 14, 2015 · 1 comment

Comments

@pbassut
Copy link

pbassut commented Mar 14, 2015

I was looking for how I could show a view controller(right or left). I found this issue: #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?

@BorisNikolic
Copy link

[self.navigationController.revealController showViewController:self.navigationController.revealController.leftViewController animated:YES completion:^(BOOL finished) {
    // Completition code if any
}];

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants