Permalink
Browse files

Incorrect selector used for _delegateFlags.

  • Loading branch information...
1 parent c170f2e commit 7141fc2df304d5955cf166efd44508123d3c8da5 Robert Linton committed Jun 21, 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 7141fc2

Please sign in to comment.