30 lines
727 B
Objective-C
30 lines
727 B
Objective-C
//
|
|
// XPMonentsUserInfoView.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2022/5/12.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class MonentsInfoModel, XPMonentsUserInfoView;
|
|
@protocol XPMonentsUserInfoViewDelegate <NSObject>
|
|
|
|
///点击了头像
|
|
- (void)xPMonentsUserInfoView:(XPMonentsUserInfoView *)view didClickAvatar:(MonentsInfoModel *)monents;
|
|
|
|
///点击了跟随进房
|
|
- (void)xPMonentsUserInfoView:(XPMonentsUserInfoView *)view didClickEnterRoom:(MonentsInfoModel *)monents;
|
|
|
|
@end
|
|
@interface XPMonentsUserInfoView : UIView
|
|
///动态信息
|
|
@property (nonatomic,strong) MonentsInfoModel *monentsInfo;
|
|
|
|
///代理
|
|
@property (nonatomic,weak) id<XPMonentsUserInfoViewDelegate> delegate;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|