xcode - UITableViewController Static Cells File Configuration (Swift) -
i have created table view static cells , looks in main storyboard when run application contents of table view empty. think because numberofsections , numberofrowsinsections functions resetting table view 0. when remove these functions table view appears desired.
my questions okay leave these functions out , there other functions should include conform coding standards?
if use static cells, can remove both methods or change values return correct number of sections , methods.
you can define content of cells in storyboard or override method :
func collectionview(_ collectionview: uicollectionview, cellforitemat indexpath: indexpath) -> uicollectionviewcell {
it depends on looking for.
Comments
Post a Comment