diff options
author | Teddy Wing | 2018-09-05 20:51:28 +0200 |
---|---|---|
committer | Teddy Wing | 2018-09-05 20:51:28 +0200 |
commit | d24637ebbadfd31826609fd638c5851d3ce29f98 (patch) | |
tree | b8e4037d0a5026ae00d2b2227976819a4aba5840 /CopyMailto/AppDelegate.h | |
parent | 9d8676896db252f4b6c7364da66947504ee33d3b (diff) | |
download | Copy-Mailto-d24637ebbadfd31826609fd638c5851d3ce29f98.tar.bz2 |
Add label that displays the email address coming from `mailto`
It starts with `mailto:`, so we remove that with a substring method
call.
Diffstat (limited to 'CopyMailto/AppDelegate.h')
-rw-r--r-- | CopyMailto/AppDelegate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CopyMailto/AppDelegate.h b/CopyMailto/AppDelegate.h index b46e3ff..321d100 100644 --- a/CopyMailto/AppDelegate.h +++ b/CopyMailto/AppDelegate.h @@ -10,6 +10,7 @@ @interface AppDelegate : NSObject <NSApplicationDelegate> { IBOutlet NSWindow *_window; + IBOutlet NSTextField *_email_address; } - (void)handleURLEvent:(NSAppleEventDescriptor *)event |