From 4a44348ced42bf59b792271fa70b1fff5c29b289 Mon Sep 17 00:00:00 2001 From: Mark Anthony Date: Mon, 22 Feb 2016 15:12:42 +0800 Subject: [PATCH] Update ViewController.m add just two lines of code, binding carousel to the controller --- Examples/Storyboard Demo/StoryboardExample/ViewController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Examples/Storyboard Demo/StoryboardExample/ViewController.m b/Examples/Storyboard Demo/StoryboardExample/ViewController.m index 9af81fd399..5f1bc1a68b 100644 --- a/Examples/Storyboard Demo/StoryboardExample/ViewController.m +++ b/Examples/Storyboard Demo/StoryboardExample/ViewController.m @@ -51,6 +51,9 @@ - (void)viewDidLoad //configure carousel carousel.type = iCarouselTypeCoverFlow2; + //carousel bindings + carousel.delegate = self; + carousel.dataSource = self; } - (void)viewDidUnload