12345678910111213141516171819202122 |
- //
- // UIButton+Create.h
- // LiveTV
- //
- // Created by 翟玉磊 on 2019/4/12.
- // Copyright © 2019 翟玉磊. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface UIButton (Create)
- + (UIButton *)createButtonRect:(CGRect)rect textColor:(UIColor *)textColor textFont:(UIFont *)font;
- + (UIButton *)createButtonTextColor:(UIColor *)textColor textFont:(UIFont *)font;
- + (UIButton *)createButtonWithTitle:(NSString *)title textColor:(UIColor *)textColor textFont:(UIFont *)font;
- @end
- NS_ASSUME_NONNULL_END
|