This is my second question on the same topic. Swipeout Menu not working while using SWReveal Library
I didn't figure out the error but knew that when i copy the running project files(class files,storyboard) and paste to the new project.The running code doesnot run on new project while using SWRevealViewController library. Is ther anything i need to add....
P.S. Bridging header is created after i dragged the both .h and .m files of SWRevealViewController library
The problem on new project is..no error but the bar button not showing the menu
UPDATED: This is the action method to show the menu.. However if you want my project just go to the above link
@IBOutlet weak var menuButton:UIBarButtonItem!
override func viewDidLoad() {
super.viewDidLoad()
if self.revealViewController() != nil {
menuButton.target = self.revealViewController()
menuButton.action = "revealToggle:"
self.view.addGestureRecognizer(self.revealViewController().panGestureRecognizer())
// Uncomment to change the width of menu
//self.revealViewController().rearViewRevealWidth = 62
}
}