How can I create custom URL types that I can perform an action with the data passed into the app. I've tried this with no luck:
- (void)handleURLEvent:(NSAppleEventDescriptor*)event withReplyEvent:(NSAppleEventDescriptor*)replyEvent
How can I create custom URL types that I can perform an action with the data passed into the app. I've tried this with no luck:
- (void)handleURLEvent:(NSAppleEventDescriptor*)event withReplyEvent:(NSAppleEventDescriptor*)replyEvent
You have to specify one or more keys for the CFBundleURLTypes dictionary in your app's property list file (or in XCode target editor).
Then in your app delegate
applicationWillFinishLaunching
write something like