Skip to content

Instantly share code, notes, and snippets.

View PimCoumans's full-sized avatar
thinking about making coffee

Pim PimCoumans

thinking about making coffee
View GitHub Profile

Keybase proof

I hereby claim:

  • I am pimcoumans on github.
  • I am pimcoumans (https://keybase.io/pimcoumans) on keybase.
  • I have a public key whose fingerprint is B7D5 832A C1B7 A316 1B44 9C2D A614 9B6B D8D2 9B7C

To claim this, I am signing this object:

@PimCoumans
PimCoumans / gist:8543312
Created January 21, 2014 16:30
Prevent UIScrollView from logging "Stop offset can not be modified for paging scroll views"
- (BOOL)respondsToSelector:(SEL)aSelector
{
if (aSelector == @selector(scrollViewWillEndDragging:withVelocity:targetContentOffset:))
{
return (!self.scrollView.pagingEnabled);
}
return [super respondsToSelector:aSelector];
}