How do I wait for a promise to finish before returning the variable of a function?

I’m still struggling with promises, but making some progress thanks to the community here. I have a simple JS function which queries a Parse database. It’s supposed to return the array of results, but obviously due to the asynchronous nature of the query (hence the promises), the function returns before the results, leaving me with … Read more

Impact of Xcode build options “Enable bitcode” Yes/No

Yesterday I recognized a ton of warnings regarding the parse.com library: URGENT: all bitcode will be dropped because ‘[path]/Parse.framework/Parse(PFAnalytics.o)’ was built without bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. Note: This will be an error in the future. … Read more