Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Incorrect selector used for _delegateFlags #8

Merged
merged 1 commit into from

2 participants

robiculous Matthias Tretter
robiculous

Delegate methods weren't being called.

Great project. Thanks!

Matthias Tretter

Ah, how dumb - forgot to convert them, thanks!

Matthias Tretter myell0w merged commit ed7c287 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 21, 2012
  1. Incorrect selector used for _delegateFlags.

    Robert Linton authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 NGTabBarController/NGTabBarController.m
4 NGTabBarController/NGTabBarController.m
View
@@ -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:)];
}
}
Something went wrong with that request. Please try again.