This commit is contained in:
2025-10-28 10:18:10 +08:00
parent efb04d134e
commit 1deca2ae5b
166 changed files with 17288 additions and 1427 deletions

View File

@@ -0,0 +1,27 @@
//
// KBKey.m
// CustomKeyboard
//
#import "KBKey.h"
@implementation KBKey
+ (instancetype)keyWithTitle:(NSString *)title output:(NSString *)output {
KBKey *k = [[KBKey alloc] init];
k.type = KBKeyTypeCharacter;
k.title = title ?: @"";
k.output = output ?: title ?: @"";
return k;
}
+ (instancetype)keyWithTitle:(NSString *)title type:(KBKeyType)type {
KBKey *k = [[KBKey alloc] init];
k.type = type;
k.title = title ?: @"";
k.output = @"";
return k;
}
@end