Vote count:
0
As far as I could find out, there is no easy random query function in parse. Is there a way to shuffle the objects after I queried them?
query.findObjectsInBackgroundWithBlock { (objects, error) -> Void in
if (error == nil) {
// shuffle objects here?
PFObject.pinAllInBackground(objects, withName:"Card", block: nil)
Any ideas? Thanks!
asked 1 min ago
swift parse: How to shuffle objects after query?
Aucun commentaire:
Enregistrer un commentaire