hide/show/change stuff on the LS and HS
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

KgeRootListController.m 596B

il y a 4 ans
12345678910111213141516171819202122
  1. #include "KgeRootListController.h"
  2. @implementation KgeRootListController
  3. - (NSArray *)specifiers {
  4. if (!_specifiers) {
  5. _specifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
  6. }
  7. return _specifiers;
  8. }
  9. -(void)voidView {
  10. [super loadView];
  11. self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Respring" style:UIBarButtonItemStylePlain target:self action:@selector(saveTapped)];
  12. }
  13. -(void)saveTapped {
  14. CFNotificationCenterPostNotification(CFNotificationCenterGetDarwinNotifyCenter(), CFSTR("com.yaypixxo.kage/respring"), NULL, NULL, YES);
  15. }
  16. @end