Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #8 from robiculous/master

Incorrect selector used for _delegateFlags
  • Loading branch information...
commit ed7c2875a5123e95bee3d19423222654f816ba45 2 parents c170f2e + 7141fc2
@myell0w myell0w authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 NGTabBarController/NGTabBarController.m
View
4 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:)];
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.