A simple swift app with a Facebook "login" view, scrollable "news feed" view, and scrollable "more"view
15 hours
All Required Stories 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.
Did not complete the optional stories: Facebook Feed
- 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)