From ffd65a560ec79d7c3196e776b7ba50fcaf8f03da Mon Sep 17 00:00:00 2001 From: Mati Bot Date: Tue, 18 Aug 2015 19:38:20 +0700 Subject: [PATCH] declare property attributes --- Pod/Classes/MBCircularProgressBarLayer.h | 2 +- Pod/Classes/MBCircularProgressBarView.h | 30 ++++++++++++------------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Pod/Classes/MBCircularProgressBarLayer.h b/Pod/Classes/MBCircularProgressBarLayer.h index ec1006e..01443f6 100644 --- a/Pod/Classes/MBCircularProgressBarLayer.h +++ b/Pod/Classes/MBCircularProgressBarLayer.h @@ -16,7 +16,7 @@ @property (nonatomic,assign) CGFloat maxValue; @property (nonatomic,assign) CGFloat valueFontSize; @property (nonatomic,assign) CGFloat unitFontSize; -@property (nonatomic,strong) NSString* unitString; +@property (nonatomic,copy) NSString* unitString; @property (nonatomic,strong) UIColor* fontColor; @property (nonatomic,assign) CGFloat progressLineWidth; diff --git a/Pod/Classes/MBCircularProgressBarView.h b/Pod/Classes/MBCircularProgressBarView.h index 1ccf75e..4544bf2 100644 --- a/Pod/Classes/MBCircularProgressBarView.h +++ b/Pod/Classes/MBCircularProgressBarView.h @@ -11,26 +11,26 @@ IB_DESIGNABLE @interface MBCircularProgressBarView : UIView -@property (nonatomic) IBInspectable CGFloat value; -@property (nonatomic) IBInspectable CGFloat maxValue; +@property (nonatomic,assign) IBInspectable CGFloat value; +@property (nonatomic,assign) IBInspectable CGFloat maxValue; -@property (nonatomic) IBInspectable CGFloat valueFontSize; -@property (nonatomic) IBInspectable CGFloat unitFontSize; -@property (nonatomic) IBInspectable NSString* unitString; -@property (nonatomic) IBInspectable UIColor* fontColor; +@property (nonatomic,assign) IBInspectable CGFloat valueFontSize; +@property (nonatomic,assign) IBInspectable CGFloat unitFontSize; +@property (nonatomic,copy) IBInspectable NSString* unitString; +@property (nonatomic,strong) IBInspectable UIColor* fontColor; -@property (nonatomic) IBInspectable CGFloat progressRotationAngle; -@property (nonatomic) IBInspectable CGFloat progressAngle; +@property (nonatomic,assign) IBInspectable CGFloat progressRotationAngle; +@property (nonatomic,assign) IBInspectable CGFloat progressAngle; -@property (nonatomic) IBInspectable CGFloat progressLineWidth; -@property (nonatomic) IBInspectable UIColor* progressColor; -@property (nonatomic) IBInspectable UIColor* progressStrokeColor; +@property (nonatomic,assign) IBInspectable CGFloat progressLineWidth; +@property (nonatomic,strong) IBInspectable UIColor* progressColor; +@property (nonatomic,strong) IBInspectable UIColor* progressStrokeColor; //CGLineCap -@property (nonatomic) IBInspectable NSInteger progressCapType; +@property (nonatomic,assign) IBInspectable NSInteger progressCapType; -@property (nonatomic) IBInspectable CGFloat emptyLineWidth; -@property (nonatomic) IBInspectable UIColor* emptyLineColor; +@property (nonatomic,assign) IBInspectable CGFloat emptyLineWidth; +@property (nonatomic,strong) IBInspectable UIColor* emptyLineColor; //CGLineCap -@property (nonatomic) IBInspectable NSInteger emptyCapType; +@property (nonatomic,assign) IBInspectable NSInteger emptyCapType; @end