Problem with UIViewControllerTransitioningDelegate, UINavigationControllerDelegate
I have a UIViewController which has a custom segue animation. Therefore I use the UIViewControllerTransitioningDelegate and UINavigationControllerDelegate and implement this function
func navigationController(navigationController: UINavigationController, animationControllerForOperation operation: UINavigationControllerOperation, fromViewController fromVC: UIViewController, toViewController toVC: UIViewController) -> UIViewControllerAnimatedTransitioning?
When I set self.navigationController?.delegate = self the slideNavigationControllerShouldDisplayLeftMenu function is called 6 times, but the left menu button doesn't appear
I created a example showing the problem:
https://github.com/LucidityDesign/iOS-Slide-Menu/commit/5df587ab2d4ea9c17ea0d8f6bb1b51270134bb57