jondanao / TheSidebarController

A container view controller that implements different popular sidebar view controllers like Facebook, Airbnb, Flipboard, etc.
Other
360 stars 52 forks source link

push/pop effects on changing the contentViewController #11

Open bhavinchitroda opened 10 years ago

bhavinchitroda commented 10 years ago

Hi,

I have a contentViewController which has a tableview inside it. I want to push the next view on selection of any row from the tableview. For that right now I am using this code...

self.sidebarController.contentViewController = contentViewController;

But, as we know it won't show any push effect. How to add push/pop effects in this case?

jondanao commented 10 years ago

Hi @bhavinchitroda

Is the tableview embedded in a navigation controller?

Jon

bhavinchitroda commented 10 years ago

Yes, it is. But, note that I want that sidebarcontroller in next "pushed" view also.

jonapin006 commented 9 years ago

Hi, I'm use self.sidebarController.navigationController?.pushViewController(Class(), animated: true) from RightSideMenu but nothing happen