audrl1010 / SlideMenuController

iOS Slide Menu Controller. It is written in pure swift.
MIT License
40 stars 13 forks source link

Use only left side #4

Closed paySimplex closed 6 years ago

paySimplex commented 6 years ago

Hi, its possible use only left side? I don't need right side.

Thanks!!

paySimplex commented 6 years ago

Hi, Yes, use nil where you don’t want. Above example: slideMenuControllerView = SlideMenuController( mainViewController: mainMenu, leftViewController: lateralMenu, rightViewController: nil )

                           Leão Bicalho                                                                                                                                                                                                                
                           Mobile Developer                                                                                                                                                                                                            

[http://www.paysimplex.com/] [https://www.google.pt/maps/place/Av.+Tom%C3%A1s+Ribeiro+45,+2790-072+Carnaxide/@38.7239608,-9.2441121,19z/data=!3m1!4b1!4m5!3m4!1s0xd1ecc67ba004b5d:0x4bf1b488511f8cfc!8m2!3d38.7239598!4d-9.2435636]

via Newton Mail [https://cloudmagic.com/k/d/mailapp?ct=dx&cv=9.8.421&pv=10.13.6&source=email_footer_2] On Mon, Aug 20, 2018 at 6:06, Pranav Goswami notifications@github.com wrote: did you find the solution?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub [https://github.com/audrl1010/SlideMenuController/issues/4#issuecomment-414198427] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AjdmQOVE7Z0c83H5uBUbkcIj0Tv9jb3dks5uSkPJgaJpZM4V4E-l] .

paySimplex commented 6 years ago

And use slideMenuControllerView.allowedRightSwipe = false

                           Leão Bicalho                                                                                                                                                                                                                
                           Mobile Developer                                                                                                                                                                                                            

[http://www.paysimplex.com/] [https://www.google.pt/maps/place/Av.+Tom%C3%A1s+Ribeiro+45,+2790-072+Carnaxide/@38.7239608,-9.2441121,19z/data=!3m1!4b1!4m5!3m4!1s0xd1ecc67ba004b5d:0x4bf1b488511f8cfc!8m2!3d38.7239598!4d-9.2435636]

via Newton Mail [https://cloudmagic.com/k/d/mailapp?ct=dx&cv=9.8.421&pv=10.13.6&source=email_footer_2] On Mon, Aug 20, 2018 at 8:24, pay Simplex paysimplex@gmail.com wrote: Hi, Yes, use nil where you don’t want. Above example: slideMenuControllerView = SlideMenuController( mainViewController: mainMenu, leftViewController: lateralMenu, rightViewController: nil )

                           Leão Bicalho                                                                                                                                                                                                                
                           Mobile Developer                                                                                                                                                                                                            

[http://www.paysimplex.com/] [https://www.google.pt/maps/place/Av.+Tom%C3%A1s+Ribeiro+45,+2790-072+Carnaxide/@38.7239608,-9.2441121,19z/data=!3m1!4b1!4m5!3m4!1s0xd1ecc67ba004b5d:0x4bf1b488511f8cfc!8m2!3d38.7239598!4d-9.2435636]

via Newton Mail [https://cloudmagic.com/k/d/mailapp?ct=dx&cv=9.8.421&pv=10.13.6&source=email_footer_2] On Mon, Aug 20, 2018 at 6:06, Pranav Goswami notifications@github.com wrote: did you find the solution?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub [https://github.com/audrl1010/SlideMenuController/issues/4#issuecomment-414198427] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AjdmQOVE7Z0c83H5uBUbkcIj0Tv9jb3dks5uSkPJgaJpZM4V4E-l] .