萤石云 iOSSDK,移植跨平台相关工程
JLChen
2021-08-06 edc0f0a0439f9e5a11593e21a4779fa6dbcbe49d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
//  HIKLoadPercentView.h
//  VideoGo
//  带有百分比的加载动画视图
//  Created by zhil.shi on 15/3/9.
//  Copyright (c) 2015年 HIKVison. All rights reserved.
//
 
#import <UIKit/UIKit.h>
 
@interface HIKLoadPercentView : UIView
 
@property (strong, nonatomic, readonly) NSString *percentStr;
/**
 *  初始化函数
 *
 *  @param frame      视图大小
 *  @param percentStr 初始值,可为nil
 *
 *  @return self
 */
- (instancetype)initWithFrame:(CGRect)frame percentStr:(NSString *)percentStr;
 
/**
 *  初始化函数
 *
 *  @param frame      视图大小
 *  @param percentStr 初始值,可为nil
 *  @param color      字体颜色
 *
 *  @return self
 */
- (instancetype)initWithFrame:(CGRect)frame percentStr:(NSString *)percentStr percentColor:(UIColor *)color;
 
/**
 *  显示提示
 *
 *  @param content 提示
 */
- (void)setShowContent:(NSString *)content;
 
/**
 *  开始百分比动画
 */
- (void)showPercentAnimation;
 
/**
 *  隐藏并移除动画
 */
- (void)hideRemovePercentAnimation;
 
@end