32 lines
622 B
Objective-C
32 lines
622 B
Objective-C
//
|
|
// MvpViewController.h
|
|
// YUMI
|
|
//
|
|
// Created by admin on 2023/3/9.
|
|
//
|
|
|
|
#import "BaseViewController.h"
|
|
#import "BaseMvpPresenter.h"
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
typedef void(^HeaderRefreshComplete)(void);
|
|
|
|
@interface MvpViewController<T> : BaseViewController
|
|
|
|
@property (nonatomic, strong) __kindof T presenter;
|
|
|
|
- (__kindof T)createPresenter;
|
|
|
|
- (void)setupTopTheme;
|
|
|
|
- (void)setupCustomNavigationBar:(void(^)(void))backAction title:(NSString *)title titleColor:(UIColor *)color;
|
|
- (void)setupCustonNavigationRightButtons:(NSArray <UIButton *>*)array sizes:(NSArray <NSValue *> *)sizes;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|