{"action":"opened","issue":{"url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift/issues/56","labels_url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift/issues/56/comments","events_url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift/issues/56/events","html_url":"https://github.com/dekatotoro/SlideMenuControllerSwift/issues/56","id":97430025,"number":56,"title":"Problem with BarButton.","user":{"login":"alecsechechel","id":9609317,"avatar_url":"https://avatars.githubusercontent.com/u/9609317?v=3","gravatar_id":"","url":"https://api.github.com/users/alecsechechel","html_url":"https://github.com/alecsechechel","followers_url":"https://api.github.com/users/alecsechechel/followers","following_url":"https://api.github.com/users/alecsechechel/following{/other_user}","gists_url":"https://api.github.com/users/alecsechechel/gists{/gist_id}","starred_url":"https://api.github.com/users/alecsechechel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecsechechel/subscriptions","organizations_url":"https://api.github.com/users/alecsechechel/orgs","repos_url":"https://api.github.com/users/alecsechechel/repos","events_url":"https://api.github.com/users/alecsechechel/events{/privacy}","received_events_url":"https://api.github.com/users/alecsechechel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-27T10:10:51Z","updated_at":"2015-07-27T10:10:51Z","closed_at":null,"body":"From collection view I want open screen with menu. I use this code\r\n\r\n    // MARK: - UICollectionViewDelegate\r\n    func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {\r\n        let vc = createMenuView()\r\n        self.presentViewController(vc, animated: true, completion: nil)\r\n    }\r\n    \r\n    // MARK: - Create menu\r\n    func createMenuView() -> SlideMenuController {\r\n\r\n        let mainViewController = kStoryboard.instantiateViewControllerWithIdentifier(\"TakeLesson\") as! TakeLessonViewController\r\n        let leftViewController = kStoryboard.instantiateViewControllerWithIdentifier(\"LeftViewController\") as! LeftViewController\r\n        let nvc: UINavigationController = UINavigationController(rootViewController: mainViewController)\r\n        \r\n        leftViewController.mainViewController = nvc\r\n        let slideMenuController = SlideMenuController(mainViewController:nvc, leftMenuViewController: leftViewController)\r\n\r\n        return slideMenuController\r\n    }\r\n\r\nBut in menu view I in TakeLessonViewController in willViewAppear write self.setNavigationBarItem() but this don't work. I used this method in viewDidLoad but have negative effect with BarButton. He started in origin x = 0 and after got to normal position. \r\n\r\nHow can I fix that?\r\n\r\nBest regards Oleksii"}}