Skip to content

Commit ffd65a5

Browse files
author
Mati Bot
committed
declare property attributes
1 parent 34037ab commit ffd65a5

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

Pod/Classes/MBCircularProgressBarLayer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@property (nonatomic,assign) CGFloat maxValue;
1717
@property (nonatomic,assign) CGFloat valueFontSize;
1818
@property (nonatomic,assign) CGFloat unitFontSize;
19-
@property (nonatomic,strong) NSString* unitString;
19+
@property (nonatomic,copy) NSString* unitString;
2020
@property (nonatomic,strong) UIColor* fontColor;
2121

2222
@property (nonatomic,assign) CGFloat progressLineWidth;

Pod/Classes/MBCircularProgressBarView.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,26 @@
1111
IB_DESIGNABLE
1212
@interface MBCircularProgressBarView : UIView
1313

14-
@property (nonatomic) IBInspectable CGFloat value;
15-
@property (nonatomic) IBInspectable CGFloat maxValue;
14+
@property (nonatomic,assign) IBInspectable CGFloat value;
15+
@property (nonatomic,assign) IBInspectable CGFloat maxValue;
1616

17-
@property (nonatomic) IBInspectable CGFloat valueFontSize;
18-
@property (nonatomic) IBInspectable CGFloat unitFontSize;
19-
@property (nonatomic) IBInspectable NSString* unitString;
20-
@property (nonatomic) IBInspectable UIColor* fontColor;
17+
@property (nonatomic,assign) IBInspectable CGFloat valueFontSize;
18+
@property (nonatomic,assign) IBInspectable CGFloat unitFontSize;
19+
@property (nonatomic,copy) IBInspectable NSString* unitString;
20+
@property (nonatomic,strong) IBInspectable UIColor* fontColor;
2121

22-
@property (nonatomic) IBInspectable CGFloat progressRotationAngle;
23-
@property (nonatomic) IBInspectable CGFloat progressAngle;
22+
@property (nonatomic,assign) IBInspectable CGFloat progressRotationAngle;
23+
@property (nonatomic,assign) IBInspectable CGFloat progressAngle;
2424

25-
@property (nonatomic) IBInspectable CGFloat progressLineWidth;
26-
@property (nonatomic) IBInspectable UIColor* progressColor;
27-
@property (nonatomic) IBInspectable UIColor* progressStrokeColor;
25+
@property (nonatomic,assign) IBInspectable CGFloat progressLineWidth;
26+
@property (nonatomic,strong) IBInspectable UIColor* progressColor;
27+
@property (nonatomic,strong) IBInspectable UIColor* progressStrokeColor;
2828
//CGLineCap
29-
@property (nonatomic) IBInspectable NSInteger progressCapType;
29+
@property (nonatomic,assign) IBInspectable NSInteger progressCapType;
3030

31-
@property (nonatomic) IBInspectable CGFloat emptyLineWidth;
32-
@property (nonatomic) IBInspectable UIColor* emptyLineColor;
31+
@property (nonatomic,assign) IBInspectable CGFloat emptyLineWidth;
32+
@property (nonatomic,strong) IBInspectable UIColor* emptyLineColor;
3333
//CGLineCap
34-
@property (nonatomic) IBInspectable NSInteger emptyCapType;
34+
@property (nonatomic,assign) IBInspectable NSInteger emptyCapType;
3535

3636
@end

0 commit comments

Comments
 (0)