We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6744817 commit 4397973Copy full SHA for 4397973
ProgressView/CircleProgressView.m
@@ -49,6 +49,17 @@ - (instancetype)initWithFrame:(CGRect)frame {
49
return self;
50
}
51
52
+#pragma mark - Interface Builder
53
+
54
+- (void)prepareForInterfaceBuilder {
55
+ self.trackBackgroundColor = (self.trackBackgroundColor)? :[UIColor darkGrayColor];
56
+ self.trackFillColor = (self.trackFillColor)? :[UIColor purpleColor];
57
+ self.trackWidth = (self.trackWidth)? :10;
58
+ self.clockwise = (self.clockwise)? :true;
59
+ self.progress = (self.progress)? :.45;
60
+ self.centerFillColor = (self.centerFillColor)? : [UIColor whiteColor];
61
+}
62
63
#pragma mark - Setup
64
65
- (void)setup {
0 commit comments