29 lines
621 B
Objective-C
29 lines
621 B
Objective-C
//
|
|
// XPMonentsContentView.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2022/5/13.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class MomentsInfoModel, XPMomentsContentView;
|
|
|
|
@protocol XPMomentsContentViewDelegate <NSObject>
|
|
|
|
///点击这折叠
|
|
- (void)xPMonentsContentView:(XPMomentsContentView *)view didClickFold:(MomentsInfoModel *)monentsInfo;
|
|
|
|
@end
|
|
|
|
@interface XPMomentsContentView : UIView
|
|
///
|
|
@property (nonatomic,assign) BOOL isTopic;
|
|
@property (nonatomic,strong) MomentsInfoModel *monentsInfo;
|
|
///代理
|
|
@property (nonatomic,weak) id<XPMomentsContentViewDelegate> delegate;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|