You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
847 B
31 lines
847 B
// |
|
// KJBannerViewCell.h |
|
// KJBannerView |
|
// |
|
// Created by 杨科军 on 2018/2/27. |
|
// Copyright © 2018年 杨科军. All rights reserved. |
|
// |
|
|
|
#import <UIKit/UIKit.h> |
|
#import "KJLoadImageView.h" |
|
#import "KJBannerTool.h" |
|
|
|
@interface KJBannerViewCell : UICollectionViewCell |
|
|
|
/// 数据模型 - 用于自定义样式传递数据 |
|
@property (nonatomic,strong) NSObject *model; |
|
|
|
/// 图片显示方式 |
|
@property (nonatomic,assign) UIViewContentMode contentMode; |
|
/// 圆角 |
|
@property (nonatomic,assign) CGFloat imgCornerRadius; |
|
/// 占位图 |
|
@property (nonatomic,strong) UIImage *placeholderImage; |
|
/// 是否裁剪,默认no |
|
@property (nonatomic,assign) BOOL kj_scale; |
|
/// 自带数据模型 |
|
@property (nonatomic,strong) KJBannerDatasInfo *info; |
|
/// 使用KJBannerViewDataSource方式时候使用 |
|
@property (nonatomic,strong) UIView *itemView; |
|
|
|
@end
|
|
|