diff options
author | Teddy Wing | 2018-09-05 18:06:41 +0200 |
---|---|---|
committer | Teddy Wing | 2018-09-05 18:09:56 +0200 |
commit | 3748d43501bc81d53a0e912c6db4070643052436 (patch) | |
tree | ab253c373725e353e23cc88476d7649ce8bc048b /CopyMailto/AppDelegate.h | |
parent | eae8538ad69274b3c2e3487e5a2561763106a8b7 (diff) | |
download | Copy-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.h | 4 |
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; |