Skip to content

Commit

Permalink
Incorrect selector used for _delegateFlags.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Linton authored and Robert Linton committed Jun 21, 2012
1 parent c170f2e commit 7141fc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NGTabBarController/NGTabBarController.m
Expand Up @@ -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:)];
}
}

Expand Down

0 comments on commit 7141fc2

Please sign in to comment.