projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a variety of issues with incorrect / unexpected / unfriendly first responder...
[enjoyable.git]
/
NSView+FirstResponder.h
diff --git a/NSView+FirstResponder.h
b/NSView+FirstResponder.h
new file mode 100644
(file)
index 0000000..
9aee2e6
--- /dev/null
+++ b/
NSView+FirstResponder.h
@@ -0,0
+1,15
@@
+//
+// NSView+FirstResponder.h
+// Enjoy
+//
+// Created by Joe Wreschnig on 3/1/13.
+//
+//
+
+#import <Cocoa/Cocoa.h>
+
+@interface NSView (FirstResponder)
+
+- (BOOL)resignIfFirstResponder;
+
+@end