123456789101112131415161718192021 |
- //
- // UILabel+Create.m
- // HuoChat
- //
- // Created by macWangDC on 2022/9/28.
- // Copyright © 2022 Huobi. All rights reserved.
- //
- #import "UILabel+Create.h"
- @implementation UILabel (Create)
- + (UILabel *)labelCreateWithText:(NSString *)text font:(UIFont *)font textColor:(UIColor *)color {
- UILabel *label = [[UILabel alloc] init];
- label.text = text;
- label.font = font;
- label.textColor = color;
- return label;
- }
- @end
|