| 123456789101112131415161718192021222324252627282930313233 |
- //
- // CustomLabelButton.h
- // OneCable
- //
- // Created by Jason Lee on 1/7/16.
- // Copyright © 2016 ntels. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @class CustomButton;
- @class CustomLabel;
- IB_DESIGNABLE
- @interface CustomLabelButton : UIView
- @property (weak, nonatomic) IBOutlet CustomButton *btn;
- @property (weak, nonatomic) IBOutlet CustomLabel *label;
- @property (strong, nonatomic, nullable) IBInspectable UIColor *fillColor;
- @property (strong, nonatomic, nullable) UIImage *image;
- @property (strong, nonatomic, nullable) NSString *imageURL;
- @property (strong, nonatomic, nullable) NSString *title;
- @property (assign, nonatomic) BOOL enabled;
- - (void)sd_setImageWithURL:(nonnull NSURL *)url forState:(UIControlState)state;
- - (nullable NSArray<NSString *> *)actionsForTarget:(nullable id)target forControlEvent:(UIControlEvents)controlEvent;
- - (void)addTarget:(nullable id)target action:(nonnull SEL)action forControlEvents:(UIControlEvents)controlEvents;
- @end
|