Files
real-e-party-iOS/YuMi/CustomUI/MoliMoneyLabel.h
edwinQQQ a35a711be6 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
2025-10-09 16:19:14 +08:00

35 lines
813 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// MoliMoneyLabel.h
// YuMi
//
// Created by P on 2025/2/25.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MoliMoneyLabel : UIView
/// 带金币 icon 的 label view
/// - Parameters:
/// - textColor: 文本颜色
/// - font: 文本字体
/// - position: icon 位置1: 左2:右
/// - size: icon 大小
+ (MoliMoneyLabel *)moneyLabelWithTextColot:(UIColor *)textColor font:(UIFont *)font moneyPostion:(NSInteger)position moneySize:(CGSize)size;
- (void)updateContent:(NSString *)content;
- (void)updateFont:(UIFont *)font size:(CGSize)size;
- (void)displayIcon:(BOOL)displayOrNot;
- (void)updateSpacing:(NSInteger)space;
- (void)updateLabelAlignment:(NSTextAlignment)alignment;
- (void)insertSpaceAtLeast;
- (void)hideAll;
- (void)removeSpace;
@end
NS_ASSUME_NONNULL_END