MessagesCollectionView

open class MessagesCollectionView: UICollectionView

Undocumented

  • Undocumented

    Declaration

    Swift

    public override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout)
  • Undocumented

    Declaration

    Swift

    required public init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    public convenience init()
  • Undocumented

    Declaration

    Swift

    open func handleTapGesture(_ gesture: UIGestureRecognizer)
  • Undocumented

    Declaration

    Swift

    public func scrollToBottom(animated: Bool = false)
  • Undocumented

    Declaration

    Swift

    public func reloadDataAndKeepOffset()
  • Registers a particular cell using its reuse-identifier

    Declaration

    Swift

    public func register<T: UICollectionViewCell>(_ cellClass: T.Type)
  • Registers a reusable view for a specific SectionKind

    Declaration

    Swift

    public func register<T: UICollectionReusableView>(_ headerFooterClass: T.Type, forSupplementaryViewOfKind kind: String)
  • Generically dequeues a cell of the correct type allowing you to avoid scattering your code with guard-let-else-fatal

    Declaration

    Swift

    public func dequeueReusableCell<T: UICollectionViewCell>(_ cellClass: T.Type, for indexPath: IndexPath) -> T
  • Generically dequeues a header of the correct type allowing you to avoid scattering your code with guard-let-else-fatal

    Declaration

    Swift

    public func dequeueReusableHeaderView<T: UICollectionReusableView>(_ viewClass: T.Type, for indexPath: IndexPath) -> T
  • Generically dequeues a footer of the correct type allowing you to avoid scattering your code with guard-let-else-fatal

    Declaration

    Swift

    public func dequeueReusableFooterView<T: UICollectionReusableView>(_ viewClass: T.Type, for indexPath: IndexPath) -> T