Since i need to have the sidebar open on the right, how do i change it from the left to right side? the code i use is simple:
if revealViewController() != nil {
Menubutton.target = revealViewController()
Menubutton.action = #selector(SWRevealViewController.revealToggle(_:))
}
Also when the sidebar menu opens up it doesn't show the cells i have ( i've put both image and text on the different cells). But if i put a label in the Table view controller it shows the label when i open the sidebar menu.
To reveal from the right side, change the selector to rightRevealToggle
Menubutton.action = #selector(SWRevealViewController.rightRevealToggle(_:))