BannerViewCell
@MainActor
open class BannerViewCell : UICollectionViewCell
Banner视图默认Cell
-
标题,支持String|NSAttributedString
Declaration
Swift
@MainActor open var title: Any? { get set }
-
轮播文字label字体颜色
Declaration
Swift
@MainActor open var titleLabelTextColor: UIColor? { get set }
-
轮播文字label字体
Declaration
Swift
@MainActor open var titleLabelTextFont: UIFont? { get set }
-
轮播文字label背景颜色
Declaration
Swift
@MainActor open var titleLabelBackgroundColor: UIColor? { get set }
-
轮播文字label高度
Declaration
Swift
@MainActor open var titleLabelHeight: CGFloat
-
轮播文字间距设置(影响背景),默认全部0
Declaration
Swift
@MainActor open var titleLabelInset: UIEdgeInsets
-
轮播文字内容间距设置(不影响背景),默认{0 16 0 16}
Declaration
Swift
@MainActor open var titleLabelContentInset: UIEdgeInsets { get set }
-
轮播文字label对齐方式
Declaration
Swift
@MainActor open var titleLabelTextAlignment: NSTextAlignment { get set }
-
图片视图间距设置,默认全部0
Declaration
Swift
@MainActor open var imageViewInset: UIEdgeInsets
-
内容视图间距设置,默认全部0
Declaration
Swift
@MainActor open var contentViewInset: UIEdgeInsets
-
内容视图圆角设置,默认0
Declaration
Swift
@MainActor open var contentViewCornerRadius: CGFloat { get set }
-
内容视图背景色,默认nil
Declaration
Swift
@MainActor open var contentViewBackgroundColor: UIColor? { get set }
-
是否已配置完成
Declaration
Swift
@MainActor open var hasConfigured: Bool
-
只展示文字轮播
Declaration
Swift
@MainActor open var onlyDisplayText: Bool
-
图片视图
Declaration
Swift
@MainActor open lazy var imageView: UIImageView { get set }
-
标题标签
Declaration
Swift
@MainActor open lazy var titleLabel: UILabel { get set }
-
Undocumented
Declaration
Swift
@MainActor override public init(frame: CGRect)
-
Undocumented
Declaration
Swift
@MainActor public required init?(coder: NSCoder)
-
Undocumented
Declaration
Swift
@MainActor override open func layoutSubviews()
-
Declaration
Swift
@MainActor override open func statisticalViewWillBindClick(_ containerView: UIView?) -> Bool
-
Declaration
Swift
@MainActor override open func statisticalViewWillBindExposure(_ containerView: UIView?) -> Bool
-
Declaration
Swift
@MainActor override open func statisticalViewContainerView() -> UIView?
-
Declaration
Swift
@MainActor override open func statisticalViewIndexPath() -> IndexPath?