123456789101112131415161718192021222324252627282930313233343536373839 |
- //
- // YMViewModelProtocol.h
- // MSYOUPAI
- //
- // Created by YoMi on 2024/2/4.
- // Copyright © 2024 MS. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- typedef enum : NSUInteger {
- /**下拉还有更多数据*/
- YMHeaderRefresh_HasMoreData = 1,
- /**下拉没有更多数据*/
- YMHeaderRefresh_HasNoMoreData,
- /**上拉还有更多数据*/
- YMFooterRefresh_HasMoreData,
- /**上拉没有更多数据*/
- YMFooterRefresh_HasNoMoreData,
- /**刷新出错*/
- YMRefreshError,
- /**刷新失败*/
- YMRefreshFail,
- /**刷新UI布局*/
- YMRefreshUI,
- } YMRefreshDataStatus;
- @protocol YMViewModelProtocol <NSObject>
- @optional
- /// 初始化
- - (void)ym_initialize;
- @end
- NS_ASSUME_NONNULL_END
|