ChatChannelUnreadCountView
A view that shows a number of unread messages in channel.
open class ChatChannelUnreadCountView: _View, ThemeProvider, SwiftUIRepresentable
Inheritance
_View
, SwiftUIRepresentable
, ThemeProvider
Nested Type Aliases
ObservedObject
Data source of _ChatChannelUnreadCountView
represented as ObservedObject
.
public typealias ObservedObject<Content: SwiftUIView> = SwiftUIWrapper<Content>
SwiftUIView
_ChatChannelUnreadCountView
represented in SwiftUI.
public typealias SwiftUIView = ChatChannelUnreadCountViewSwiftUIView
Properties
unreadCountLabel
The UILabel
instance that holds number of unread messages.
open private(set) lazy var unreadCountLabel = UILabel()
.withoutAutoresizingMaskConstraints
.withAdjustingFontForContentSizeCategory
.withBidirectionalLanguagesSupport
content
The data this view component shows.
open var content: ChannelUnreadCount = .noUnread
Methods
layoutSubviews()
override open func layoutSubviews()
setUpAppearance()
override open func setUpAppearance()
setUpLayout()
override open func setUpLayout()
updateContent()
override open func updateContent()