twotoasters / TWTSideMenuViewController

Side Menus for iOS 7
MIT License
847 stars 148 forks source link

Right SideMenu #16

Open Salma90 opened 10 years ago

Salma90 commented 10 years ago

i want to open the SideMenu from the right not the left what should i change in the code ?

jnjosh commented 10 years ago

The library currently doesn't have a built in way to push to the right instead of the left. However, in the TWTSideMenuViewController, there is a method that sets up the "open" position, -openTransformForView:. If you fork and modify that such that the transform translated to the right instead of the left, you could probably get this working for you pretty quick.

Hope that helps!