sendbird-uikit-ios/Sources/View/ChannelList/ChannelCell/SBUBaseChannelCell.swift

34 lines
786 B
Swift

//
// SBUBaseChannelCell.swift
// SendbirdUIKit
//
// Created by Harry Kim on 2020/03/23.
// Copyright © 2020 Sendbird, Inc. All rights reserved.
//
import UIKit
import SendbirdChatSDK
open class SBUBaseChannelCell: SBUTableViewCell {
// MARK: - Public property
public private(set) var channel: BaseChannel?
// MARK: - View Lifecycle
/// This function configure a cell using channel information.
/// - Parameter channel: cell object
open func configure(channel: BaseChannel) {
self.channel = channel
}
// MARK: -
open override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
}
open override func prepareForReuse() {
super.prepareForReuse()
}
}