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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -