Files
Kage/kageprefs/KgeRootListController.m
Viggo Lekdorf a7005799f4 kage
2020-01-03 11:53:31 +01:00

23 linhas
596 B
Objective-C

#include "KgeRootListController.h"
@implementation KgeRootListController
- (NSArray *)specifiers {
if (!_specifiers) {
_specifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
}
return _specifiers;
}
-(void)voidView {
[super loadView];
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Respring" style:UIBarButtonItemStylePlain target:self action:@selector(saveTapped)];
}
-(void)saveTapped {
CFNotificationCenterPostNotification(CFNotificationCenterGetDarwinNotifyCenter(), CFSTR("com.yaypixxo.kage/respring"), NULL, NULL, YES);
}
@end