UITableView

extension UITableView
  • The registration of all table view cells from Activity Feed Components.

    Declaration

    Swift

    public func registerCells()

Cells

  • Dequeue reusable activity feed post cells with a given indexPath and activity presenter.

    Declaration

    Swift

    public func postCell<T: ActivityProtocol>(at indexPath: IndexPath, presenter: ActivityPresenter<T>) -> UITableViewCell?
        where T.ActorType: UserNameRepresentable, T.ReactionType: ReactionProtocol

    Parameters

    indexPath

    the index path of the requested cell.

    presenter

    the ActivityPresenter for the requested cell.