-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
codeSomething needs to be done in the codeSomething needs to be done in the code
Description
- Initial position of the first cell, on setCellsPosition():
private func setCellsPosition() {
guard let sections = dataSource?.numberOfSections() else { return }
for i in 0..<sections {
guard let rows = dataSource?.numberOfRows(inSection: i) else { return }
for j in 0..<rows {
if j == 0 {
cells[j].position.y = self.tableFrame.height * 0.4
} else {
cells[j].position.y = self.previousCellPosition - self.rowHeight
}
self.previousCellPosition = cells[j].position.y
}
}
}Metadata
Metadata
Assignees
Labels
codeSomething needs to be done in the codeSomething needs to be done in the code