Last active
October 19, 2015 12:08
-
-
Save Cellane/1e0e9d21f6c525dee2b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (IBAction)pageSelected:(AINPageButton *)sender { | |
NSLog(@"Page %d selected", sender.pageNumber); | |
[self.pageButtons enumerateObjectsUsingBlock:^(AINPageButton *pageButton, NSUInteger idx, BOOL *stop) { | |
pageButton.selected = NO; | |
}]; | |
sender.selected = YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment