I’ve tried following Feature 16 data retrieval API https://backendless.com/feature-16-data-retrieval-api-how-to-load-objects-from-an-mbaas-storage/ it correctly counts the total number of objects in the database but when i try pulling each user name without the relations it returns an error with this code
for restaurant in currentPage as! [Restaurant] {
print("Restaurant name = \(restaurant.name)")
}
fatal error: NSArray element failed to match the Swift Array Element type
But my code looks like this and it works fine but only returns nil for each user name
for userInfo in currentPage {
print("Users: = \(userInfo.name)")
}
I’m extract all the User’s names in the database to add to a UITableView List