//
//  UIButtonUtils.m
//  SDKDemo
//
//  Created by JasWorkSpace on 2018/10/18.
//  Copyright © 2018 JasWorkSpace. All rights reserved.
//

#import <Foundation/Foundation.h>
#include "UIButtonUtils.h"

@implementation UIButtonUtils

+ (UIButton *) createUIButton
{
    UIButton * button = [UIButton buttonWithType:UIButtonTypeCustom];
    [UIButtonUtils configUIButton:button];
    return button;
}

+ (void) configUIButton:(UIButton*)button
{
    [button setBackgroundColor:UIColor.clearColor];
    [button setTitleColor:[UIColor blackColor] forState:UIControlStateHighlighted];
    [button setTitleColor:[UIColor grayColor] forState:UIControlStateNormal];
}

@end
