Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add right side Slide Menu iOS

I want to make a Slide Menu (both right & left side) in Storyboard. Here the left Side Menu panel is a viewController and an UITableView with customCell embedded in it to perform the menu style. I have followed a youtube "tutorial" and the left side panel working perfectly. But now I need to do the same thing for right side slide menu. Exact same thing.

When I connect the segue, the sw_rear storyboard segue identifier is used for the left menu and the sw_front storyboard segue identifier is used for the front viewController. Or the 1st viewController of the left silde menu list. But there has also a segue identifier in the main source file ("SlideOutMenuFiles") which is sw_right, and it never been used any where in the code. So I am assuming, it could be used to implement the right side sliding.

I try to implement it in right side but can't do it. If any one understand my want or familiar with the problem, any suggestion would be much appreciable. Thanks a lot for your time. Have a good day.

If you want "here" is my demo project. Take have a look.

(Addition: Please don't suggest any 3rd party API. I already tried with them.)

enter image description here

like image 805
Tulon Avatar asked Feb 11 '15 04:02

Tulon


1 Answers

You have already did it for the left side, I am not sure what's the issue u are facing to implement the same for the right side.

Simple put another button in the BangladeshViewController and add its action to the rightRevealToggle: and also add a new controller for the right side menu and connect it with the SWRevealViewController, give the custom segue name as "sw_right".

Just exactly like you did for the left side.

enter image description here

like image 113
Ramaraj T Avatar answered Nov 14 '22 23:11

Ramaraj T