CircleProgressView.m revision 2229ffbfe08c2cd606c305f8934e627548002c9e
2N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
return nil;
return self;
return nil;
return self;
color = [UIColor colorWithRed:1.0 green:self.progress * (1 / fabsf(self.threshold)) blue:0.0 alpha:1.0];
color = [UIColor colorWithRed:1.0 green:(1 - self.progress) * (1 / (1 - self.threshold)) blue:0.0 alpha:1.0];
@end