I am using Parse.com as the backend for developing an iOS application (using Swift).
I currently have a PFQueryTableViewController
displaying a list of rows from my Parse table "Sports".
I would like to, however, have the Parse-returned query-based cells in a section, and then have a section above this section with 3 more 'static'-type of cells.
The question is very similar to this one: Mix of static and dynamic table view cells iOS
BUT I am just unsure of how to do this with a PFQueryTableViewController
...
Any help?
So for anyone trying to do this, I found a BRILLIANT solution! Best part about it? ZERO CODE required!
I stumbled upon this other question in StackOverflow (UITableView Mix of Static and Dynamic Cells?) and found that the bottom answer of using a Container View at the top of the UITableViewController
works the same for PFQueryTableViewController
!
This web page gives further detail on how to do this step-by-step:
http://www.mikebobiney.com/2014/09/28/static-table-view-containers/