Skip to content

Commit aef108c

Browse files
committed
added infinite scrolling (=> Carousel)
1 parent 5f717c0 commit aef108c

File tree

2 files changed

+278
-211
lines changed

2 files changed

+278
-211
lines changed

PunchScrollView.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@
3939
the dataSource method
4040
- (UIViewController*)punchScrollView:(PunchScrollView*)scrollView controllerForPageAtIndexPath:(NSIndexPath *)indexPath;
4141
we used to call "viewDidUnload" - but this method will be deprecated in iOS 6
42-
Please destroy all your views in that delegate call
42+
destroy all your views or memory consuming stuff in that delegate call
4343
44-
otherwise your app will leak!!
4544
*/
4645
- (void)punchScrollView:(PunchScrollView*)scrollView
4746
unloadPage:(UIView*)view
@@ -170,6 +169,8 @@ typedef enum {
170169
// Get all page controller if given
171170
@property (nonatomic, readonly) NSArray *pageController;
172171

172+
// set to a inifinite scolling experience (=> carrousel)
173+
@property (nonatomic, assign) BOOL infiniteScrolling;
173174

174175

175176
/*

0 commit comments

Comments
 (0)