Reputation: 591
I want to put a PFQueryTableViewController inside my class which is a UITableViewController but I'm having a hard time figuring out how. I need this setup because my UIViewController is going to have a textview and button which need to be outside the table view not inside of it. I also need the data in the table view to load as soon as my UITableViewController gets segued into. Any one know how to do this?
Upvotes: 0
Views: 395
Reputation: 1942
So what you could do is the following:
Insert a view within a view with something like this
The second view, define it as PFQueryTableViewController
perhaps this could end up being useful.
Note: There's probably a more efficient and elegant solution out there, but based on what you described you want to do, this seems like a "hack" way to achieve it. I'd suggest try to implement it and then find other ways that could be more efficient.
As for how to make sure your data is loaded into the table when segued into, this tutorial could prove useful.
Upvotes: 1