消息模块-私聊头像可以点击
This commit is contained in:
31
xplan-ios/Main/Message/View/Session/SessionNavView.h
Normal file
31
xplan-ios/Main/Message/View/Session/SessionNavView.h
Normal file
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// 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;
|
||||
@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;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user