消息模块-私聊头像可以点击

This commit is contained in:
fengshuo
2022-04-25 16:32:46 +08:00
parent dbd2a97b14
commit 9380bb7d01
18 changed files with 742 additions and 28 deletions

View 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