From 3e8437ae559487362fae3525beb79c534c213a51 Mon Sep 17 00:00:00 2001 From: 单军华 Date: Thu, 12 Jul 2018 13:44:34 +0800 Subject: [PATCH] bug修复和功能优化 --- screendisplay/screendisplay/Classes/Category/ProgressView/GradientProgressView.h | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/screendisplay/screendisplay/Classes/Category/ProgressView/GradientProgressView.h b/screendisplay/screendisplay/Classes/Category/ProgressView/GradientProgressView.h new file mode 100644 index 0000000..6c5305c --- /dev/null +++ b/screendisplay/screendisplay/Classes/Category/ProgressView/GradientProgressView.h @@ -0,0 +1,34 @@ +// +// GradientProgressView.h +// screendisplay +// +// Created by ��������� on 2018/7/10. +// Copyright �� 2018��� ���������. All rights reserved. +// + +#import <UIKit/UIKit.h> + +@interface GradientProgressView : UIView + +/** + * ������ ���������0.65 + */ +@property (nonatomic, assign) CGFloat progress; + +/** + * ������������������������������������������>=2 + * ��������� @[(id)HexColor(0xFDDF76).CGColor, (id)HexColor(0xFEBC19).CGColor]; + */ +@property (nonatomic, strong) NSArray *colorArr; + +/** + * ��������������������� ��������� HexColor(0xf2f2f2) + */ +@property (nonatomic, strong) UIColor *bgProgressColor; + +/** + * ������progress���������������UI������������������������������������UI������������������������������������������ + */ +- (void)updateProgressView; + +@end -- Gitblit v1.8.0