Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ typedef enum {
- (void)cycleScrollView:(SDCycleScrollView *)cycleScrollView didScrollToIndex:(NSInteger)index;



- (void)cycleScrollViewDidScroll:(UIScrollView *)scrollView index:(NSInteger)index;



Expand Down
3 changes: 3 additions & 0 deletions SDCycleScrollView/Lib/SDCycleScrollView/SDCycleScrollView.m
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,9 @@ - (void)scrollViewDidScroll:(UIScrollView *)scrollView
UIPageControl *pageControl = (UIPageControl *)_pageControl;
pageControl.currentPage = indexOnPageControl;
}
if ([self.delegate respondsToSelector:@selector(cycleScrollViewDidScroll:index:)]) {
[self.delegate cycleScrollViewDidScroll:scrollView index:indexOnPageControl];
}
}

- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView
Expand Down