Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 840 Bytes

File metadata and controls

52 lines (38 loc) · 840 Bytes

EXTENSION

UITableView

public extension UITableView

Properties

isEmpty

var isEmpty: Bool

Zero rows in all sections

Methods

reloadCell(_:with:)

func reloadCell(_ cell: UITableViewCell, with animation: UITableView.RowAnimation)

Reload cell at index path

  • Parameters:
    • cell: cell
    • animation: animation

Parameters

Name Description
cell cell
animation animation

scrollToBottom(position:animated:)

func scrollToBottom(position: UITableView.ScrollPosition = .bottom, animated: Bool = true)

Scroll to last index in last section

  • Parameters:
    • position: position
    • animated: animated

Parameters

Name Description
position position
animated animated