123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- //
- // WMZBannerView.h
- // WMZBanner
- //
- // Created by wmz on 2019/9/6.
- // Copyright © 2019 wmz. All rights reserved.
- //
- #import "WMZBannerParam.h"
- #import <UIKit/UIKit.h>
- #import "WMZBannerControl.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface WMZBannerView : UIView
- //背景图
- @property(strong,nonatomic)UIImageView *bgImgView;
- @property(strong,nonatomic)WMZBannerControl *bannerControl ;
- /**
- * 调用方法
- *
- */
- - (instancetype)initConfigureWithModel:(WMZBannerParam *)param withView:(UIView*)parentView;
- /**
- * 调用方法
- *
- */
- - (instancetype)initConfigureWithModel:(WMZBannerParam *)param;
- /**
- * 更新UI
- *
- */
- - (void)updateUI;
- - (void)resetParam:(WMZBannerParam *)param;
- /**
- * 手动调用滚动
- *
- */
- - (void)scrolToPath:(NSIndexPath*)path animated:(BOOL)animated;
- @end
- @interface Collectioncell : UICollectionViewCell
- @property(nonatomic,strong)UIImageView *icon;
- @property(nonatomic,strong)WMZBannerParam *param;
- @end
- @interface CollectionTextCell : UICollectionViewCell
- @property(nonatomic,strong)UILabel *label;
- @property(nonatomic,strong)WMZBannerParam *param;
- @end
- NS_ASSUME_NONNULL_END
|