Permalink
Browse files

Merge pull request #23 from github/fix-nsclipview-category-warning

Ignore incomplete protocol warning in NSClipView
  • Loading branch information...
2 parents e6748e4 + 1d94bc6 commit c7fb48a681e5c4cbfaa2736cb0f33bf37c85f0c0 @joshaber joshaber committed Jul 25, 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 c7fb48a

Please sign in to comment.