39 lines
1.0 KiB
Objective-C
39 lines
1.0 KiB
Objective-C
//
|
|
// SessionNavView.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2022/4/25.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class SessionNavView;
|
|
@protocol SessionNavViewDelegate <NSObject>
|
|
///点击了举报
|
|
- (void)sessionNavView:(SessionNavView *)view didClickReport:(UIButton *)sender;
|
|
///点击了关注
|
|
- (void)sessionNavView:(SessionNavView *)view didClickLike:(UIButton *)sender;
|
|
///点击了返回
|
|
- (void)sessionNavView:(SessionNavView *)view didClickBack:(UIButton *)sender;
|
|
///跟随房间
|
|
- (void)sessionNavView:(SessionNavView *)view didClickToRoom:(UIButton *)sender;
|
|
@end
|
|
|
|
@interface SessionNavView : UIView
|
|
@property (nonatomic,copy) NSString *userId;
|
|
///标题
|
|
@property (nonatomic,copy) NSString *title;
|
|
///是否已经喜欢了
|
|
@property (nonatomic,assign) BOOL isLike;
|
|
///代理
|
|
@property (nonatomic,weak) id<SessionNavViewDelegate> delegate;
|
|
///是否在房间中
|
|
@property (nonatomic,assign) BOOL isInRoom;
|
|
///是否显示直播中
|
|
@property(nonatomic,assign) BOOL isShowLive;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|