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:
co-authored by
Claude Opus 5.5
parent
42f66534bf
commit
3b035d6a7d
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user