阅读背景:

为什么方法最后运行?

来源:互联网 

I am trying to recover all the animal objects based on certain parameters. First I need to retrieve their location from parse as well as the name, but since I am importing more than one and using geocoder, I am using strings, and not an array. So instead of appending the imported information into an array, I am mutating a variable. What I though would happen is the query would go through the first object then run the retrieveLocation method, then proceed to the next object imported from parse, but instead it imports everything then runs the method, so in the end I only get 1 object instead of how many are supposed to be imported. I am trying to recover all the animal objects b




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: