HMVideoViewModel.h 781 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // HMVideoViewModel.h
  3. // BuguLive
  4. //
  5. // Created by 范东 on 2018/12/27.
  6. // Copyright © 2018 xfg. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface HMVideoViewModel : NSObject
  11. /**
  12. 网络请求
  13. */
  14. @property (nonatomic, strong) NetHttpsManager *httpsManager;
  15. @property (nonatomic, assign) BOOL hasMore;
  16. @property (nonatomic, assign) BOOL isPushed;
  17. - (void)refreshNewListWithSuccess:(void(^)(NSArray *list))success
  18. failure:(void(^)(NSError *error))failure WithRequestDict:(NSDictionary *)dict;
  19. - (void)refreshMoreListWithSuccess:(void(^)(NSArray *list))success
  20. failure:(void(^)(NSError *error))failure WithRequestDict:(NSDictionary *)dict;
  21. @end
  22. NS_ASSUME_NONNULL_END