2

simple question, as per the subject: i have no intention of uploading changes to a returned array of PFObjects, but want to purge the array of specific items. Given it is set to readonly, what is the best way to approach this while still using PFQueryTableViewController?

Or is it better to got with a regular tableviewcontroller and lose the benefits of parse's VC?

I am trying to wrap my head around getting the proper data i require but without proper SQL, it seems very very difficult. (lack of Distinct, grouping etc)

2
  • Did you find a solution to this ? Aug 19, 2015 at 8:46
  • no, i had to rethink the UI and presentation. While the db behind Parse is awesome for some things, the lack of our ability to form coherent SQL to extract exactly what is needed does cause a old-school data modeller headaches ;)
    – drew..
    Aug 20, 2015 at 13:38

1 Answer 1

0

I would override the objectsDidLoad and objectAtIndexPath methods if you want to modify the returned results. See here for a better explanation: https://parse.com/questions/using-pfquerytableviewcontroller-for-uitableview-sections

It's just a good post on overriding the methods in PFQTVC to do different things with the data.

1
  • Thanks Jacob, but this doesn't address the question: i hope to manage the actual objects array and thus allow PFQTVC to continue to be used. My data contains duplicates, and i have an algorithm being called in objectsDidLoad() already. We simply cannot tap into objects itself. Perhaps i have missed the ability to locally delete a PFObject. This would work as i do not intend to upload the delete. I will look again.
    – drew..
    Aug 5, 2014 at 22:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.