/fbLogin

HW 2

Primary LanguageObjective-C

fbLogin

HW 2 for CodePath

  • Hours to Complete: 10

Completed

Facebook login page

  • Tapping in the UITextField repositions the elements, as shown in the screenshots.
  • Tapping anywhere dismisses the keyboard
  • If email and password field are both blank, button should be disabled.
  • Password field should be secure with no autocorrection.
  • After tapping log in button, show the loading indicator in the button. After a 2 second delay, check the password.
  • If the password is 'password', transition to the next screen.
  • If the password is anything else, display the password error alert.

Facebook feed

  • Navigation bar should have the search button and messages button.
  • Immediately after launch, display the loading indicator.
  • After 2 seconds, show the feed, which is a long image in a scrollable view.
  • Tapping the status button should show the compose view w/ the keyboard (optional)
  • Tapping a profile picture should push a profile page (optional)

More

  • Add a scrollable view of the "More" page. (optional)
  • Upon tapping Log Out, return to the login screen. (optional)
  • Add a UIRefreshControl for a pull to refresh (optional)
  • After a pull to refresh, delay for 2 seconds before ending (optional)
  • Every other time, display an error message (optional)

Added

  • BSKeyboardControls Cocoapod for adding previous/next to keyboard accessory view, just because.

Screenshot

My image