- :
.
cell UIView :- , .
- , , ,
UIView 8. - .
= >=.label 0 .
public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat{
return 60
}
public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
}
public func tableView(_ tableView: UITableView, estimatedHeightForRowAt indexPath: IndexPath) -> CGFloat{
return 50;
}
public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat{
return UITableViewAutomaticDimension
}
public func numberOfSections(in tableView: UITableView) -> Int{
}
public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int{
}
public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell{
}
delegate dataSource tableView.