Skip to main content

chat-channel-list-collection-view-cell-properties

itemView

The ChatChannelListItemView instance used as content view.

open private(set) lazy var itemView: ChatChannelListItemView = components
.channelContentView
.init()
.withoutAutoresizingMaskConstraints

swipeableView

The SwipeableView instance which is used for revealing buttons when cell is swiped.

open private(set) lazy var swipeableView: SwipeableView = components
.channelActionsView.init()
.withoutAutoresizingMaskConstraints

isHighlighted

override open var isHighlighted: Bool 

Methods

prepareForReuse()

override public func prepareForReuse() 

setUp()

override open func setUp() 

setUpLayout()

override open func setUpLayout() 

preferredLayoutAttributesFitting(_:)

override open func preferredLayoutAttributesFitting(
_ layoutAttributes: UICollectionViewLayoutAttributes
) -> UICollectionViewLayoutAttributes

Did you find this page helpful?