//
//  Util.h
//  EugineAPISample
//
//  Created by aaab on 2023/01/03.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger , FONT_TYPE)
{
    LIGHT   = 0,
    MEDIUM  = 1,
    BOLD    = 2,
};

@interface Util : NSObject

+ (void) makeRoundView:(UIView *)window radius:(CGFloat)radius width:(CGFloat)width bordercolor:(UIColor *)bordercolor;
+ (NSString *) getCurrencyFromString:(NSString *)value formatter:(nullable NSNumberFormatter *)formatter;
+ (UIColor*) getValueColor:(NSInteger)nAttr;
+ (UIImage*)getValueSign:(NSString*)strSign;
- (NSArray *) searchWithNameFromArray:(NSString *)searchname sourceArray:(NSArray *)sourceArray;
+ (UIFont*)fontType:(FONT_TYPE)type size:(CGFloat)size;
+ (UIColor*)getRedColor;
+ (UIColor*)getBlueColor;
+ (UIColor*)getCollectColor;
+ (UIColor*)getCancelColor;
+ (BOOL)isNumber:(NSString*)number;
@end

NS_ASSUME_NONNULL_END
