Skip to content

Commit 7fa5c40

Browse files
committed
Update introDidFinish delegate method in demo project, closes #167
1 parent 5da7e46 commit 7fa5c40

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Example/Source/ViewController.m

+6-3
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,12 @@ - (void)showCustomIntro {
331331

332332
#pragma mark - EAIntroView delegate
333333

334-
- (void)introDidFinish:(EAIntroView *)introView {
335-
NSLog(@"introDidFinish callback");
336-
[self.tableView deselectRowAtIndexPath:[self.tableView indexPathForSelectedRow] animated:YES];
334+
- (void)introDidFinish:(EAIntroView *)introView wasSkipped:(BOOL)wasSkipped {
335+
if(wasSkipped) {
336+
NSLog(@"Intro skipped");
337+
} else {
338+
NSLog(@"Intro finished");
339+
}
337340
}
338341

339342
#pragma mark - Custom actions

0 commit comments

Comments
 (0)