aboutsummaryrefslogtreecommitdiffstats
path: root/CopyMailto/DefaultURLHandler.m
AgeCommit message (Collapse)Author
2018-09-05DefaultURLHandler: Add `saveDefaultURLHandler`Teddy Wing
This method is supposed to set CopyMailto as the default application for "mailto" URLs. But it keeps giving me a `-54` error, or `202` status code on the shell. WTF is going on?
2018-09-05saveDefaultURLHandler: Simplify `CFStringRef` creationTeddy Wing
Turns out `CFStringRef` can be "toll-free bridged" with `NSString`, allowing us to simplify the call.
2018-09-05Add `DefaultURLHandler`; Get current handler for `mailto` URLsTeddy Wing
Add a class to get the current bundle handler for `mailto` URLs. It will be extended to set CopyMailto as the default handler after saving the original.