- Readme + ToDo list

- Preferences: Browser list and config
- Preferences: Default RSS reader application
- Open and handle 'feed://' urls
This commit is contained in:
relikd
2018-09-22 02:09:28 +02:00
parent 7d68a25de2
commit 0f90705781
10 changed files with 324 additions and 39 deletions

View File

@@ -31,8 +31,14 @@
return self;
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
- (void)applicationWillFinishLaunching:(NSNotification *)notification {
_barMenu = [BarMenu new];
NSAppleEventManager *appleEventManager = [NSAppleEventManager sharedAppleEventManager];
[appleEventManager setEventHandler:self andSelector:@selector(handleGetURLEvent:withReplyEvent:)
forEventClass:kInternetEventClass andEventID:kAEGetURL];
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
printf("up and running\n");
// https://feeds.feedburner.com/simpledesktops
}
@@ -41,6 +47,12 @@
}
- (void)handleGetURLEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent {
NSString *url = [[event paramDescriptorForKeyword:keyDirectObject] stringValue];
// TODO: Open feed edit sheet in preferences
NSLog(@"%@", url);
}
#pragma mark - Core Data stack