28 lines
603 B
Objective-C
28 lines
603 B
Objective-C
//
|
|
// PIUniversalBannerView.h
|
|
// YuMi
|
|
//
|
|
// Created by duoban on 2024/3/19.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "PIUniversalBannerModel.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class PIUniversalBannerView;
|
|
@protocol PIUniversalBannerViewDelegate <NSObject>
|
|
|
|
- (void)pIUniversalBannerView:(PIUniversalBannerView *)view didClick:(PIUniversalBannerModel *)model;
|
|
|
|
@end
|
|
|
|
@interface PIUniversalBannerView : UIView
|
|
@property (nonatomic,assign) BOOL isSvga;
|
|
@property (nonatomic,strong) PIUniversalBannerModel *model;
|
|
|
|
@property (nonatomic,weak) id<PIUniversalBannerViewDelegate> delegate;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|