[tvOS] Branch out tvOS specific code into it's own categories

This commit is contained in:
Aaron Schubert
2016-04-21 08:59:14 +01:00
parent dbb9026415
commit 06d4573b14
10 changed files with 337 additions and 246 deletions

View File

@@ -36,6 +36,8 @@
@implementation ASPanningOverriddenUITextView
#if TARGET_OS_IOS
// tvOS doesn't support self.scrollsToTop
- (BOOL)scrollEnabled
{
return _shouldBlockPanGesture;
@@ -48,6 +50,7 @@
[super setScrollEnabled:YES];
}
#endif
- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer
{