self.targetController.enabled = NO;
[self.jsController setup];
[self.configsController load];
self.targetController.enabled = NO;
[self.jsController setup];
[self.configsController load];
- [[NSUserDefaults standardUserDefaults] synchronize];
- [[NSWorkspace sharedWorkspace].notificationCenter
+ [NSUserDefaults.standardUserDefaults synchronize];
+ [NSWorkspace.sharedWorkspace.notificationCenter
while (dockMenuBase.numberOfItems > removeFrom)
[dockMenuBase removeItemAtIndex:dockMenuBase.numberOfItems - 1];
int added = 0;
while (dockMenuBase.numberOfItems > removeFrom)
[dockMenuBase removeItemAtIndex:dockMenuBase.numberOfItems - 1];
int added = 0;
Config *current = self.configsController.currentConfig;
NSArray *configs = self.configsController.configs;
Config *current = self.configsController.currentConfig;
NSArray *configs = self.configsController.configs;
[dockMenuBase itemAtIndex:i + firstConfig].state = configs[i] == current;
}
- (void)chooseConfig:(id)sender {
[dockMenuBase itemAtIndex:i + firstConfig].state = configs[i] == current;
}
- (void)chooseConfig:(id)sender {