You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.8 KiB
61 lines
1.8 KiB
// |
|
// EasyLoadingGlobalConfig.h |
|
// EasyShowViewDemo |
|
// |
|
// Created by Mr_Chen on 2018/3/4. |
|
// Copyright © 2018年 chenliangloveyou. All rights reserved. |
|
// |
|
|
|
#import <Foundation/Foundation.h> |
|
#import <UIKit/UIKit.h> |
|
#import "EasyLoadingTypes.h" |
|
#import "EasyShowUtils.h" |
|
|
|
NS_ASSUME_NONNULL_BEGIN |
|
|
|
|
|
@interface EasyLoadingGlobalConfig : NSObject |
|
|
|
easyShowView_singleton_interface |
|
|
|
|
|
/** 加载框所显示的类型 **/ |
|
@property LoadingShowType LoadingType UI_APPEARANCE_SELECTOR ; |
|
|
|
/** 显示/隐藏 加载框的动画 **/ |
|
@property LoadingAnimationType animationType UI_APPEARANCE_SELECTOR ; |
|
|
|
/** 在显示加载框的时候,superview能否接收事件。默认为NO **/ |
|
@property BOOL superReceiveEvent UI_APPEARANCE_SELECTOR ; |
|
|
|
/** |
|
* 是否将加载框显示到window上面。默认为NO(此属性只有在不传superview的时候有效) |
|
* 当为NO: 加载框会遮盖住最上面一个controller的大小。如果superReceiveEvent为NO,那么superview不接受事件,返回按钮会有效。 |
|
* 当为YES:加载框会在盖住整个window的大小。如果superReceiveEvent为NO,那么在不隐藏加载框的时候返回事件都会被遮住。 |
|
* |
|
*/ |
|
@property BOOL showOnWindow UI_APPEARANCE_SELECTOR ; |
|
|
|
|
|
/** 圆角大小 **/ |
|
@property (nonatomic,assign)CGFloat cycleCornerWidth UI_APPEARANCE_SELECTOR ; |
|
|
|
/** 加载框主体颜色 **/ |
|
@property (nonatomic,strong)UIColor * tintColor UI_APPEARANCE_SELECTOR ; |
|
|
|
/** 文字字体大小 **/ |
|
@property (nonatomic,strong)UIFont * textFont UI_APPEARANCE_SELECTOR ; |
|
|
|
/** 背景颜色 **/ |
|
@property (nonatomic,strong)UIColor * bgColor UI_APPEARANCE_SELECTOR ; |
|
|
|
/** 图片动画类型 所需要的图片数组 **/ |
|
@property (nonatomic,strong)NSArray<UIImage *> * playImagesArray UI_APPEARANCE_SELECTOR ; |
|
|
|
|
|
|
|
|
|
@end |
|
|
|
NS_ASSUME_NONNULL_END |
|
|
|
|