Something strange is happening to me.
I have a reference to another user (userA) who I can follow. When I hit the follow button, it adds +1 to that user’s property of type int. And all works good. So now userA.property = 1.
When I repeat the same steps for another User (userB), userB’s property becomes 1 but userA’s property becomes 0, without any reference to userA (I’m in the profile’s view of the user so I have a unique reference to each user).
So now I have
userA.property = 0
userB.property = 1
instead
userA.property = 1
userB.property = 1
This is the code that I’m using to update another user’s property…
NSDictionary *property = [NSDictionary dictionaryWithObject:followersPeopleNumber forKey:kUserFollowersPeopleNumber];
[user updateProperties:property];
[[backendless.persistenceService of:[BackendlessUser class]] save:user];