Permalink
Browse files

Merge pull request #8 from robiculous/master

Incorrect selector used for _delegateFlags
  • Loading branch information...
2 parents c170f2e + 7141fc2 commit ed7c2875a5123e95bee3d19423222654f816ba45 @myell0w myell0w committed Jun 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 NGTabBarController/NGTabBarController.m
@@ -207,8 +207,8 @@ - (void)setDelegate:(id<NGTabBarControllerDelegate>)delegate {
_delegate = delegate;
// update delegate flags
- _delegateFlags.shouldSelectViewController = [delegate respondsToSelector:@selector(verticalTabBarController:shouldSelectViewController:atIndex:)];
- _delegateFlags.didSelectViewController = [delegate respondsToSelector:@selector(verticalTabBarController:didSelectViewController:atIndex:)];
+ _delegateFlags.shouldSelectViewController = [delegate respondsToSelector:@selector(tabBarController:shouldSelectViewController:atIndex:)];
+ _delegateFlags.didSelectViewController = [delegate respondsToSelector:@selector(tabBarController:didSelectViewController:atIndex:)];
}
}

0 comments on commit ed7c287

Please sign in to comment.