iOS milestone 4 groundwork: bespoke editor registry and data sources

Device editors ask BespokeEditors for headers, whole bodies, drawings and card
actions; DeviceDataSource gives them DSP data and hidden settings, backed by app
slots (SlotDataSource) or AUs (AUDataSource, hidden values in SizzleDeviceAU).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-16 09:47:25 +01:00
co-authored by Claude Opus 5.5
parent 42f66534bf
commit 3b035d6a7d
21 changed files with 251 additions and 4 deletions
+11
View File
@@ -160,6 +160,17 @@ static NSString *const kStateKey = @"sizzleValues";
return @(_k->spec->params[param.address].label);
}
- (NSString *)hiddenValueForKey:(NSString *)key {
[self pullBase];
return _base.has(key.UTF8String) ? @(_base.s(key.UTF8String)) : nil;
}
- (void)setHiddenValue:(NSString *)value forKey:(NSString *)key {
[self pullBase];
_base.set(key.UTF8String, value.UTF8String);
_k->publish(_base);
}
#pragma mark - presets and state
- (void)buildFactoryPresets {