From d24637ebbadfd31826609fd638c5851d3ce29f98 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 5 Sep 2018 20:51:28 +0200 Subject: Add label that displays the email address coming from `mailto` It starts with `mailto:`, so we remove that with a substring method call. --- CopyMailto/AppDelegate.h | 1 + 1 file changed, 1 insertion(+) (limited to 'CopyMailto/AppDelegate.h') 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 { IBOutlet NSWindow *_window; + IBOutlet NSTextField *_email_address; } - (void)handleURLEvent:(NSAppleEventDescriptor *)event -- cgit v1.2.3