Parse.com atomic safe approach to create PFObjects from iOS? -


Logged in PFUser is able to create an object with the square name "X" from an iOS app.

X is a name attribute and the only one X object can be.

The Any user on iOS can create an X object providing name for it.

That's why I am trying to ensure that only to ensure that an X is made with a "name" in the case of a group of users at the same time that the server Trying to create an object at.

So how can I guarantee only one object X is created on my parse.com system in a situation where a bunch of users tries to make the same object from the iOS client?

Thanks

Edit: I'm not controlling any cloud code. I want to know that this is only possible using the iOS code.

Thanks

EDIT 2: So, if this is not possible with iOS, how can I use this cloud code, do I have to solve this problem in cloudcod Can anyone give a quick introduction to?


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

Powerbuilder 12.1 and DataWindow in Design vs Debug and Executable/Runtime -

css3 - HTML Block Anchor element only half clickable in Chrome -