Browse files

Fix incomplete protocol warning in NSClipView+TUIExtensions with Xcod…

…e 4.3
  • Loading branch information...
1 parent 514b439 commit 1d94bc66c2f3e212b7963f0f799b29b528091cbc @jspahrsummers jspahrsummers committed Jul 24, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/UIKit/NSClipView+TUIExtensions.m
@@ -12,6 +12,10 @@
#import "NSClipView+TUIExtensions.h"
#import "NSView+TUIExtensions.h"
+// Without this, the compiler will complain about -scrollToPoint: missing from
+// this category, but the method is part of NSClipView itself.
+#pragma clang diagnostic ignored "-Wprotocol"
@implementation NSClipView (TUIExtensions)
#pragma mark TUIBridgedView

0 comments on commit 1d94bc6

Please sign in to comment.