CenterListVC.h 769 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // CenterListVC.h
  3. // YBVideo
  4. //
  5. // Created by YunBao on 2018/6/14.
  6. // Copyright © 2018年 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol ListScrollDelegate <NSObject>
  10. -(void)listScrollToTop:(CGFloat)Y;
  11. @end
  12. typedef NS_ENUM(NSInteger,ListType) {
  13. ListType_Normal, // 作品
  14. ListType_Likes, // 喜欢
  15. ListType_Collection, // 收藏
  16. };
  17. @interface CenterListVC : YBBaseViewController
  18. @property(nonatomic,strong)UICollectionView *collectionView;
  19. @property(nonatomic,assign)id<ListScrollDelegate> delegate;
  20. @property(nonatomic,assign)ListType listType;
  21. @property(nonatomic,strong)NSString *otherUid;
  22. @property(nonatomic,assign)BOOL canShowGif;
  23. //tabbar
  24. @property(nonatomic,assign)BOOL isTabbar;
  25. @end