1234567891011121314151617181920212223 |
- //
- // CALayer+XibConfiguration.m
- // XenonSDK
- //
- // Created by fq on 2020/12/12.
- // Copyright © 2020 SAGESSE. All rights reserved.
- //
- #import "CALayer+XibConfiguration.h"
- #import <UIKit/UIKit.h>
- @implementation CALayer (XibConfiguration)
- - (void)setBorderUIColor:(UIColor *)color
- {
- self.borderColor = color.CGColor;
- }
- - (UIColor*)borderUIColor
- {
- return [UIColor colorWithCGColor:self.borderColor];
- }
- @end
|