| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- //#include "DDBRootListController.h"
- //
- //@implementation DDBRootListController
- //
- //- (NSArray *)specifiers {
- // if (!_specifiers) {
- // _specifiers = [[self loadSpecifiersFromPlistName:@"Root" target:self] retain];
- // }
- //
- // return _specifiers;
- //}
- //
- //@end
- #import "DDBSettingsController.h"
- @implementation DDBSettingsController
- - (id)loadSettingGroups {
-
- /*
-
- +[<TSKSettingItem: 0x1ad71bc88> toggleItemWithTitle:Automatically Update Apps description:(null) representedObject:<TVSettingsPreferenceFacade: 0x1c0438480> keyPath:AutoUpdatesEnabled onTitle:(null) offTitle:(null)]
- */
-
- id facade = [[ NSClassFromString(@"TVSettingsPreferenceFacade") alloc] initWithDomain:@"com.nito.dalesdeadbug" notifyChanges:TRUE];
-
-
- NSMutableArray *_backingArray = [NSMutableArray new];
- TSKSettingItem *toggleItem = [TSKSettingItem toggleItemWithTitle:@"Version spoofing" description:@"Whether or not to spoof a higher OS version to install officially unsupported application versions. " representedObject:facade keyPath:@"Enabled" onTitle:nil offTitle:nil];
- //TSKSettingItem *textEntryItem = [TSKSettingItem textInputItemWithTitle:@"Tests text entry" description:@"This is a test" representedObject:facade keyPath:@"textTest"];
- /*
-
- multiValueItemWithTitle:Apple TV Name description:You can name your Apple TV to make it easy to recognize when you use AirPlay and Home Sharing. representedObject:<TVSettingsDeviceFacade: 0x1c087e2c0> keyPath:name availableValues:(
- "Apple TV",
- "Living Room",
- "Family Room",
- Bedroom,
- Kitchen,
- "Great Room",
- Office
- )]
-
-
- */
-
-
-
-
- TSKSettingItem *multiItem = [TSKSettingItem multiValueItemWithTitle:@"Spoofed Version" description:@"The version you are going to spoof." representedObject:facade keyPath:@"version" availableValues:@[@"11.1", @"11.2", @"11.3", @"11.4"]];
- TSKSettingGroup *group = [TSKSettingGroup groupWithTitle:nil settingItems:@[toggleItem, multiItem]];
- [_backingArray addObject:group];
- [self setValue:_backingArray forKey:@"_settingGroups"];
-
- return _backingArray;
-
- }
- @end
|