I am trying to get an array from a Parse.com database in my Swift app. For some reason, the array returned is always nil. I checked the permissions to make sure that the data can be accessed by my app, I find it really hard to find a starting point for this bug.
Here's my code:
let username = PFUser.currentUser()?.objectId
print("username: \(username)")
let bannedUsers = PFUser.currentUser()!["bannedUsers"] as? NSArray
print("bannedUsers: \(bannedUsers)")
The log output:
username: Optional("Nmmtb07PoR")
bannedUsers: nil
A screenshot from the database to show the array is not nil:

The exact value of the array:
[{"__type":"Pointer","className":"_User","objectId":"mG33sM3fcC"}]
I tried playing around with the contents of the array, but no matter what I put in it, whether it's a pointer or just a string, I always get 'nil'. I hope you can help.