for index = 1; index < 53; index++ {
self.query.getObjectInBackgroundWithId(weekDataIDS[index]){ (allInOne: PFObject?, error: NSError?) -> Void in
//Data comes here
//saves a lot of colums in parse
}
}
well i know getting object in background can't be too fast can i do something like;
我知道在背景中获取对象不能太快我能做的事情;
Data comes and set in app, then return to for loop
数据在app中出现并设置,然后返回for循环
1 个解决方案
#1
0
Create multiple requests and store them all. Or, write some cloud code to do the requests in 1 shot.
创建多个请求并将其全部存储起来。或者,写一些云代码来一次性完成请求。
#1
0
Create multiple requests and store them all. Or, write some cloud code to do the requests in 1 shot.
创建多个请求并将其全部存储起来。或者,写一些云代码来一次性完成请求。