Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

uitableview total number of rows

func getAllRowCount()->Int{
    var rowCount = 0
    for index in 0...self.tableView.numberOfSections-1{
        rowCount += self.tableView.numberOfRows(inSection: index)
    }
    return rowCount
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #uitableview #total #number #rows
ADD COMMENT
Topic
Name
8+6 =