YBCenterTopView.h 720 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // YBCenterTopView.h
  3. // YBVideo
  4. //
  5. // Created by YB007 on 2022/5/30.
  6. // Copyright © 2022 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef NS_ENUM(NSInteger,TopCtrType) {
  10. TopCtrType_Default,
  11. TopCtrType_Layout, // 布局完成
  12. TopCtrType_Attent,
  13. };
  14. typedef void (^CenterTopBlock)(TopCtrType ctrType,NSDictionary *resDic);
  15. @interface YBCenterTopView : UIView
  16. @property(nonatomic,strong)NSString *otherUid;
  17. @property(nonatomic,copy)CenterTopBlock topEvent;
  18. @property(nonatomic,strong)NSDictionary *dataDic;
  19. @property(nonatomic,assign)BOOL isChatPage; //从聊天点击头像而来
  20. //tabbar
  21. @property(nonatomic,assign)BOOL isTabbar;
  22. -(void)removeLivingAnimation;
  23. @end