aboutsummaryrefslogtreecommitdiffstats
path: root/CopyMailto/AppDelegate.h
diff options
context:
space:
mode:
authorTeddy Wing2018-09-05 18:06:41 +0200
committerTeddy Wing2018-09-05 18:09:56 +0200
commit3748d43501bc81d53a0e912c6db4070643052436 (patch)
treeab253c373725e353e23cc88476d7649ce8bc048b /CopyMailto/AppDelegate.h
parenteae8538ad69274b3c2e3487e5a2561763106a8b7 (diff)
downloadCopy-Mailto-3748d43501bc81d53a0e912c6db4070643052436.tar.bz2
AppDelegate: Change `window` property to instance variable
Got this error: Cannot synthesize weak property because the current deployment target does not support weak references Get rid of the property and replace it with an instance variable to get rid of the error.
Diffstat (limited to 'CopyMailto/AppDelegate.h')
-rw-r--r--CopyMailto/AppDelegate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/CopyMailto/AppDelegate.h b/CopyMailto/AppDelegate.h
index df7aec0..b46e3ff 100644
--- a/CopyMailto/AppDelegate.h
+++ b/CopyMailto/AppDelegate.h
@@ -8,7 +8,9 @@
#import <Cocoa/Cocoa.h>
-@interface AppDelegate : NSObject <NSApplicationDelegate>
+@interface AppDelegate : NSObject <NSApplicationDelegate> {
+ IBOutlet NSWindow *_window;
+}
- (void)handleURLEvent:(NSAppleEventDescriptor *)event
withReplyEvent: (NSAppleEventDescriptor *)replyEvent;