It should not be too complicated. Your RevealViewController (the source controller of your storyboard) already seems to be a subclass of SWRevealViewController . This is good, but it is not essential for this scenario. What you need is an implementation of the UIViewController for your side menu. The storyboard itself will not.
Also, I would not use segues here to switch between tabs, because segue has a destination view controller. Therefore, every time you execute segue, you create a new instance of the destination view controller. I would prefer to implement a UIViewController that handles the selection of a UITableView cell
Now suppose you create a UIViewController or UITableViewController as your menu (actually RearViewController ). Be sure to assign this class to your UITableViewController in the storyboard.
class MenuViewController: UITableViewController {
that should be all you need
ergoon
source share