Skip to content

Commit

Permalink
Fix example for scrollable section headers
Browse files Browse the repository at this point in the history
  • Loading branch information
gskbyte committed Jun 19, 2016
1 parent b3dde06 commit 677af0a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@interface GSKVisibleSectionHeadersDataSource : GSKExampleDataSource
@property (nonatomic) CGFloat stretchyHeaderViewMaximumContentHeight;
@property (nonatomic) CGFloat stretchyHeaderViewMinimumContentHeight;
- (void)scrollViewDidScroll:(UIScrollView *)scrollView;
@end

@implementation GSKVisibleSectionHeadersViewController
Expand Down Expand Up @@ -33,6 +34,11 @@ - (GSKExampleDataSource *)loadDataSource {
return dataSource;
}

- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
GSKVisibleSectionHeadersDataSource *dataSource = (GSKVisibleSectionHeadersDataSource *) self.dataSource;
[dataSource scrollViewDidScroll:scrollView];
}

@end

@implementation GSKVisibleSectionHeadersDataSource
Expand Down

0 comments on commit 677af0a

Please sign in to comment.