Files
keyboard/Pods/LYEmptyView/LYEmptyView/LYEmptyView.h

143 lines
3.7 KiB
C
Raw Normal View History

2025-11-09 20:54:14 +08:00
//
// LYEmptyView.h
// LYEmptyViewDemo
//
// Created by liyang on 2017/5/10.
// Copyright © 2017年 liyang. All rights reserved.
//
#import "LYEmptyBaseView.h"
@interface LYEmptyView : LYEmptyBaseView
/**
EmptyView, default=YES
*/
@property (nonatomic, assign) BOOL autoShowEmptyView;
/**
default=NO
YES后backgroundColor默认为浅白色
*/
@property (nonatomic, assign) BOOL emptyViewIsCompleteCoverSuperView;
/**
default is 20.f ,
*/
@property (nonatomic, assign) CGFloat subViewMargin;
/**
- (contentViewY )
*/
@property (nonatomic, assign) CGFloat contentViewOffset;
/**
-Y坐标 (contentViewOffset )
*/
@property (nonatomic, assign) CGFloat contentViewY;
/**
scrollView的contentInset
*/
@property (nonatomic, assign) BOOL ignoreContentInset;
//-------------------------- image --------------------------//
/**
(default=)
*/
@property (nonatomic, assign) CGSize imageSize;
//-------------------------- titleLab 相关 --------------------------//
/**
, default is 16.f
*/
@property (nonatomic, strong) UIFont *titleLabFont;
/**
*/
@property (nonatomic, strong) UIColor *titleLabTextColor;
/**
default is @subViewMargin
*/
@property (nonatomic, assign) CGFloat titleLabMargin;
//-------------------------- detailLab 相关 --------------------------//
/**
default is 14.f
*/
@property (nonatomic, strong) UIFont *detailLabFont;
/**
default is 2
*/
@property (nonatomic, assign) NSInteger detailLabMaxLines;
/**
*/
@property (nonatomic, strong) UIColor *detailLabTextColor;
/**
*/
@property (nonatomic, assign) NSInteger detailLabLineSpacing;
/**
() default is @subViewMargin
*/
@property (nonatomic, assign) CGFloat detailLabMargin;
//-------------------------- Button 相关 --------------------------//
/**
, default is 14.f
*/
@property (nonatomic, strong) UIFont *actionBtnFont;
/**
, default is 40.f
*/
@property (nonatomic, assign) CGFloat actionBtnHeight;
/**
, default is 0.f, (actionBtnHorizontalMargin只有一个有效>0)
*/
@property (nonatomic, assign) CGFloat actionBtnWidth;
/**
, default is 30.f, (actionBtnWidth只有一个有效>0)
*/
@property (nonatomic, assign) CGFloat actionBtnHorizontalMargin;
/**
, default is 0
*/
@property (nonatomic, assign) CGFloat actionBtnCornerRadius;
/**
border的宽度, default is 0
*/
@property (nonatomic, assign) CGFloat actionBtnBorderWidth;
/**
*/
@property (nonatomic, strong) UIColor *actionBtnBorderColor;
/**
*/
@property (nonatomic, strong) UIColor *actionBtnTitleColor;
/**
*/
@property (nonatomic, strong) UIColor *actionBtnBackGroundColor;
/**
2
*/
@property (nonatomic, strong) NSArray<UIColor *> *actionBtnBackGroundGradientColors;
/**
() default is @subViewMargin
*/
@property (nonatomic, assign) CGFloat actionBtnMargin;
@end