Created
September 30, 2011 20:53
-
-
Save paultiarks/1254946 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)scrollViewDidScroll:(UIScrollView *)scrollView | |
{ | |
static BOOL entered; | |
if (entered) | |
return; | |
if ([scrollView isKindOfClass:[UITableView class]]) | |
return; | |
entered = YES; | |
for (TDATradingViewCell *cell in [self.tableCells allObjects]) | |
{ | |
[cell.scrollView setContentOffset:scrollView.contentOffset]; | |
} | |
[self.grid.header.scrollView setContentOffset:scrollView.contentOffset]; | |
entered = NO; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment