BBARotateLoadingView.h 648 Bytes
//
//  BBARotateLoadingView.h
//  BBAPods-BBAUIKit
//
//  Created by zhangquan06 on 2018/3/1.
//  Copyright © 2018年 Baidu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BBARotateLoadingView : UIView

/// 一圈时长,单位s, 默认0.5f
@property (nonatomic, assign) CGFloat rotateDuration;

/// 是否顺时针, 默认YES
@property (nonatomic, assign) BOOL clockwiseRotate;

/// 是否旋转中
@property (nonatomic, assign, getter=isRotating) BOOL rotating;

/// 开始旋转
- (void)beginRotating;

/// 暂停旋转
- (void)pauseRotating;

/// 恢复旋转
- (void)resumeRotating;

/// 停止旋转
- (void)endRotating;

@end