Layouts exported from Android's DeviceLayouts (DeviceLayouts.json), iOS layouts for the devices with hand-built Android editors, SwiftUI editor shared by the extension and the app, Mac snapshot tool for the editors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
641 B
Plaintext
23 lines
641 B
Plaintext
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#import "SnapshotComponents.h"
|
|
#import "Components.gen.h"
|
|
|
|
@implementation SizzleComponentInfo
|
|
@end
|
|
|
|
@implementation SizzleComponentList
|
|
+ (NSArray<SizzleComponentInfo *> *)all {
|
|
NSMutableArray *list = [NSMutableArray array];
|
|
for (int i = 0; i < kSizzleComponentCount; ++i) {
|
|
SizzleComponentInfo *c = [SizzleComponentInfo new];
|
|
c.type = kSizzleComponents[i].type;
|
|
c.subtype = kSizzleComponents[i].subtype;
|
|
c.name = @(kSizzleComponents[i].name);
|
|
[list addObject:c];
|
|
}
|
|
return list;
|
|
}
|
|
@end
|