Hello, I am trying to following with swift:
let backendless = Backendless.sharedInstance()
let dataStore = backendless.persistenceService.of(Restaurant)
dataStore.find(
{ (collection) -> Void in
let restaurants : [Restaurant] = collection.data as! [Restaurant]
}) { (fault) -> Void in
NSLog("Error!")
}
None of the completion handlers are called. I am trying to get all the objects in my database. Documentation again lacks example. What should I be doing?