chore: Initial clean commit

- Removed YuMi/Library/ (138 MB, not tracked)
- Removed YuMi/Resources/ (23 MB, not tracked)
- Removed old version assets (566 files, not tracked)
- Excluded Pods/, xcuserdata/ and other build artifacts
- Clean repository optimized for company server deployment
This commit is contained in:
edwinQQQ
2025-10-09 16:19:14 +08:00
commit a35a711be6
5582 changed files with 408913 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
//
// TTActionSheetConfig.m
// AFNetworking
//
// Created by lee on 2019/5/23.
//
#import "TTActionSheetConfig.h"
#import "DJDKMIMOMColor.h"
@implementation TTActionSheetConfig
/**
actionSheet item
@param title
@param clickAction
@return item
*/
+ (TTActionSheetConfig *)normalTitle:(NSString *)title clickAction:(TTActionSheetClickAction)clickAction {
return [self normalTitle:title selectColorType:TTItemSelectNormal clickAction:clickAction];
}
+ (TTActionSheetConfig *)normalTitle:(NSString *)title selectColorType:(TTItemSelectType)type clickAction:(TTActionSheetClickAction)clickAction {
UIColor *color = type == TTItemSelectHighLight ? [DJDKMIMOMColor alertTitleColor] : [DJDKMIMOMColor alertTitleColor];
TTActionSheetConfig *config = [self actionWithTitle:title color:color handler:clickAction];
config.type = type;
return config;
}
+ (TTActionSheetConfig *)actionWithTitle:(NSString *)title
color:(UIColor *)textColor
handler:(TTActionSheetClickAction)handler {
TTActionSheetConfig *config = [[TTActionSheetConfig alloc] init];
config.type = TTItemSelectNormal;
config.title = title;
config.titleColor = textColor;
config.clickAction = handler;
return config;
}
@end