Skip to content

Commit

Permalink
Update introDidFinish delegate method in demo project, closes #167
Browse files Browse the repository at this point in the history
  • Loading branch information
ealeksandrov committed Nov 5, 2016
1 parent 5da7e46 commit 7fa5c40
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Example/Source/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,12 @@ - (void)showCustomIntro {

#pragma mark - EAIntroView delegate

- (void)introDidFinish:(EAIntroView *)introView {
NSLog(@"introDidFinish callback");
[self.tableView deselectRowAtIndexPath:[self.tableView indexPathForSelectedRow] animated:YES];
- (void)introDidFinish:(EAIntroView *)introView wasSkipped:(BOOL)wasSkipped {
if(wasSkipped) {
NSLog(@"Intro skipped");
} else {
NSLog(@"Intro finished");
}
}

#pragma mark - Custom actions
Expand Down

0 comments on commit 7fa5c40

Please sign in to comment.