This commit is contained in:
2026-03-02 20:20:28 +08:00
parent a68fb9657f
commit fb6db0649c
11 changed files with 143 additions and 29 deletions

View File

@@ -77,6 +77,9 @@ extern NSString * const KBDarwinSkinChanged; // cross-process
/// Parse a hex color string like "#RRGGBB"/"#RRGGBBAA"
+ (UIColor *)colorFromHexString:(NSString *)hex defaultColor:(UIColor *)fallback;
/// 判断指定 skinId 是否有可用资源目录
+ (BOOL)kb_hasAssetsForSkinId:(NSString *)skinId;
@end
NS_ASSUME_NONNULL_END