http://www.bmob.cn/, official website
Source code address.
First, the experiment for the use of Bmob as the background of the app, the temporary implementation of the function is registration and login functions.
First as a registration, you must confirm that you need to provide the user account password, as well as the user email/mobile phone number (forget password to let the user reset password, or verify the identity to login verification)
The official API for registered users provides a description of the address: http://docs.bmob.cn/ios/developdoc/index.html?menukey=develop_doc&key=develop_ios# Index_ Users
First of all, there is a Erro object in the API for registering and logging in, there is a property of UserInfo, if there is an error, the error message is displayed in this area,
I'm using an abandoned method. Displays a warning box that shows what the error occurred.
There is still room for developers to pay attention to:
The first is the user's password and the user's ID, although the official API will help you decide not to empty, but the length seems to be unlimited, that is, 1-letter account or password can be arbitrarily registered,
The second one is if you set the confirmation password as I do, you still need to compare the contents of the 2 password boxes.
Also let in TextField in the password input place does not display the clear text (namely displays the small circle black Spot the method is) Textfieldname.securetextentry = YES;
Feel the third-party platform this is very convenient, continue to test other things, heard that there is a third-party SDK even if the communication, called the ring letter, next time to try.
Although these third-party platforms are good, there is no understanding of what is inside, so you still need to learn the relevant knowledge.
Third party backstage use Bmob