//
//  UILabel+DDCategory.h
//  DDCategoryKit_Private
//  Created by DDIsFriend on 2022/7/29.

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UILabel (DDCategory)
/**
 *@param text content string
 *@param font text font
 *@param textColor text color
 */
+ (instancetype)dd_initWithText:(NSString *)text font:(UIFont *)font textColor:(UIColor *)textColor;


/// return a instance of label
/// @param text content string
/// @param font text font
/// @param textColor text color
/// @param backgroundColor backgroundColor of label
+ (instancetype)dd_initWithText:(NSString *)text font:(UIFont *)font textColor:(UIColor *)textColor backgroundColor:(UIColor *)backgroundColor;

/**
 *@param attributedText attributed string
 */
+ (instancetype)dd_initWithAttributedText:(NSAttributedString *)attributedText;
@end

NS_ASSUME_NONNULL_END
