xcode - How to Put PFQueryTableViewController Inside UIViewController iOS Swift -


i want put pfquerytableviewcontroller inside class uitableviewcontroller i'm having hard time figuring out how. need setup because uiviewcontroller going have textview , button need outside table view not inside of it. need data in table view load uitableviewcontroller gets segued into. 1 know how this?

so following:

  1. insert view within view this

  2. the second view, define pfquerytableviewcontroller

  3. make segue between two.
  4. have prepareforsegue() function pass values of button , textview of parent view smaller child view or vice versa.

perhaps this end being useful.

note: there's more efficient , elegant solution out there, based on described want do, seems "hack" way achieve it. i'd suggest try implement , find other ways more efficient.

as how make sure data loaded table when segued into, this tutorial prove useful.