Chapter    9

The Login Feature

In the previous chapter, you learned how to sign up new users. In this chapter, you will learn how to implement the log in and log in with Facebook features.

Using Direct Log In

Similar to the sign-up feature, the user logs in with an e-mail and password, so you can use the same model (EMABUser), similar views (EMABEmailTextField, EMABPasswordTextField, and UITableView), and a “Log In” button.

Before requesting Parse to verify the information a user provides, you need to do some information check as you have done for the sign-up feature; for example, you need to check whether the e-mail is valid, the e-mail length meets the minimum length requirement, and the password length meets the minimum length requirement. ...

Get iOS eCommerce App Development with Parse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.