萤石云 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
//
//  HIKLoadViewItem+configPath.h
//  VideoGo
//
//  Created by zhil.shi on 15/3/9.
//  Copyright (c) 2015年 HIKVison. All rights reserved.
//
 
#import "HIKLoadViewItem.h"
 
typedef NS_ENUM(NSInteger,HIKLoadViewStartLoadingSyle)
{
    HIKLoadViewStartFromLeftTop     = 0,//初始位置正方形左上角,做顺时针正方形运动
    HIKLoadViewStartFromRightTop    = 1,//初始位置正方形右上角,做顺时针正方形运动
    HIKLoadViewStartFromRightBottom = 2,//初始位置正方形右下角,做顺时针正方形运动
    HIKLoadViewStartFromLeftBottom//初始位置正方形左下角,做顺时针正方形运动
};
 
@interface HIKLoadViewItem (configPath)
/**
 *  根据路径起始位置,初始化正方形顺时针路径,并返回keyFrameAnimation
 *
 *  @param style 起始位置
 *
 *  @return
 */
- (void)configKeyFrameAnimationForColorLayerWithStartLoadingStyle:(HIKLoadViewStartLoadingSyle)style;
 
/**
 *  设置modelLayer的position为当前preseterLayer的positon
 *
 */
- (void)stayOnPresentationLayerPosition;
 
@end