FWPullRefreshView
@interface FWPullRefreshView : UIView
下拉刷新视图,默认高度60
Note
如果indicatorView为自定义指示器时会自动隐藏标题和箭头,仅显示指示器视图-
Undocumented
Declaration
Objective-C
@property (class, nonatomic) CGFloat height -
Undocumented
Declaration
Objective-C
@property (nullable, nonatomic, strong) UIColor *arrowColor -
Undocumented
Declaration
Objective-C
@property (nullable, nonatomic, strong) UIColor *textColor -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, readonly) UILabel *titleLabel -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, readonly) UILabel *subtitleLabel -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) UIView<FWIndicatorViewPlugin> *indicatorView -
Undocumented
Declaration
Objective-C
@property (nullable, nonatomic, strong) UIColor *indicatorColor -
Undocumented
Declaration
Objective-C
@property (nonatomic) CGFloat indicatorPadding -
Undocumented
Declaration
Objective-C
@property (nonatomic) BOOL showsTitleLabel -
Undocumented
Declaration
Objective-C
@property (nonatomic) BOOL showsArrowView -
Undocumented
Declaration
Objective-C
@property (nonatomic) BOOL shouldChangeAlpha -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) FWPullRefreshState state -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) BOOL userTriggered -
Undocumented
Declaration
Objective-C
@property (nullable, nonatomic, copy) void (^stateBlock -
Undocumented
Declaration
Objective-C
@property (nullable, nonatomic, copy) void (^progressBlock -
Undocumented
Declaration
Objective-C
- (void)setTitle:(nullable NSString *)title forState:(FWPullRefreshState)state; -
Undocumented
Declaration
Objective-C
- (void)setSubtitle:(nullable NSString *)subtitle forState:(FWPullRefreshState)state; -
Undocumented
Declaration
Objective-C
- (void)setCustomView:(nullable UIView *)view forState:(FWPullRefreshState)state; -
Undocumented
Declaration
Objective-C
- (void)setAnimationView:(nullable UIView<FWProgressViewPlugin, FWIndicatorViewPlugin> *)animationView; -
Undocumented
Declaration
Objective-C
- (void)startAnimating; -
Undocumented
Declaration
Objective-C
- (void)stopAnimating; -
Undocumented
Declaration
Objective-C
- (BOOL)isAnimating;
FWPullRefreshView Class Reference