//
//  LogBannerView.h
//  Open
//
//  Created by 雷俊博 on 2021/7/1.
//  Copyright © 2021 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>
#import "KKRedPackageClickEventModel.h"

@class LogBannerView;
@protocol LogBannerViewDelegate <NSObject>
/*
 *UIScrollViewDelegate  协议方法，把点击的图片的位置传给使用者
 */
-(void)didClickScrollViewWithModel:(KKRedPackageClickEventModel *_Nullable)model;

@end

NS_ASSUME_NONNULL_BEGIN

@interface LogBannerView : UIView

@property (weak,nonatomic) id<LogBannerViewDelegate>delegate;

/*
 *初始化scrollView及其部件
 */
-(instancetype)initWithDataArray:(NSArray *)dataArray;

@end

NS_ASSUME_NONNULL_END
