Skip to content

Commit 3b43be7

Browse files
committed
Merge pull request #58 from danipralea/master
Added property attributes to silence warnings for projects iOS 8+
2 parents 0f22013 + 5161cf2 commit 3b43be7

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

KVNProgress/Classes/KVNProgressConfiguration.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ typedef NS_ENUM(NSUInteger, KVNProgressBackgroundType) {
2626
#pragma mark - Background
2727

2828
/** Color of the background view. Is not used when backgroundType is KVNProgressBackgroundTypeBlurred. */
29-
@property (nonatomic) UIColor *backgroundFillColor;
29+
@property (nonatomic, strong) UIColor *backgroundFillColor;
3030
/** Tint color of the background view. Used to tint blurred background only when backgroundType is KVNProgressBackgroundTypeBlurred. */
31-
@property (nonatomic) UIColor *backgroundTintColor;
31+
@property (nonatomic, strong) UIColor *backgroundTintColor;
3232
/** Tells which background type the HUD will use. */
33-
@property (nonatomic) KVNProgressBackgroundType backgroundType;
33+
@property (nonatomic, assign) KVNProgressBackgroundType backgroundType;
3434
/** Tells wether the HUD is full screen or not. */
3535
@property (nonatomic, getter = isFullScreen) BOOL fullScreen;
3636
/**
@@ -44,42 +44,42 @@ typedef NS_ENUM(NSUInteger, KVNProgressBackgroundType) {
4444
#pragma mark - Circle
4545

4646
/** Color of the circle stroke. */
47-
@property (nonatomic) UIColor *circleStrokeForegroundColor;
47+
@property (nonatomic, strong) UIColor *circleStrokeForegroundColor;
4848
/** Background color of the circle stroke. Used only when view is showing with a progress circle. */
49-
@property (nonatomic) UIColor *circleStrokeBackgroundColor;
49+
@property (nonatomic, strong) UIColor *circleStrokeBackgroundColor;
5050
/** background color of the circle. */
51-
@property (nonatomic) UIColor *circleFillBackgroundColor;
51+
@property (nonatomic, strong) UIColor *circleFillBackgroundColor;
5252
/** Size of the circle. */
53-
@property (nonatomic) CGFloat circleSize;
53+
@property (nonatomic, assign) CGFloat circleSize;
5454
/** Relative height of the stop squared button. Between 0 and 1. For example: 0.3 will display a square that has 30% de size of the circle. */
55-
@property (nonatomic) CGFloat stopRelativeHeight;
55+
@property (nonatomic, assign) CGFloat stopRelativeHeight;
5656
/** Width of the circle stroke line. */
57-
@property (nonatomic) CGFloat lineWidth;
57+
@property (nonatomic, assign) CGFloat lineWidth;
5858

5959
#pragma mark - Status
6060

6161
/** Color of the status label. */
62-
@property (nonatomic) UIColor *statusColor;
62+
@property (nonatomic, strong) UIColor *statusColor;
6363
/** Font of the status label. */
64-
@property (nonatomic) UIFont *statusFont;
64+
@property (nonatomic, strong) UIFont *statusFont;
6565

6666
#pragma mark - Success/Error
6767

6868
/** color of the circle and checkmark when showing success. */
69-
@property (nonatomic) UIColor *successColor;
69+
@property (nonatomic, strong) UIColor *successColor;
7070
/** color of the circle and checkmark when showing error. */
71-
@property (nonatomic) UIColor *errorColor;
71+
@property (nonatomic, strong) UIColor *errorColor;
7272
/** color of the square when showing stop button. */
73-
@property (nonatomic) UIColor *stopColor;
73+
@property (nonatomic, strong) UIColor *stopColor;
7474

7575
#pragma mark - Display times
7676

7777
/** The minimum time (in seconds) the hud will be displayed. No matter if <code>dismiss</code> is called. */
78-
@property (nonatomic) NSTimeInterval minimumDisplayTime;
78+
@property (nonatomic, assign) NSTimeInterval minimumDisplayTime;
7979
/** The minimum time (in seconds) the success will be displayed. */
80-
@property (nonatomic) NSTimeInterval minimumSuccessDisplayTime;
80+
@property (nonatomic, assign) NSTimeInterval minimumSuccessDisplayTime;
8181
/** The minimum time (in seconds) the error will be displayed. */
82-
@property (nonatomic) NSTimeInterval minimumErrorDisplayTime;
82+
@property (nonatomic, assign) NSTimeInterval minimumErrorDisplayTime;
8383

8484
#pragma mark - Interaction
8585

0 commit comments

Comments
 (0)