This is a basic twitter app to read and compose tweets the Twitter API.
Time spent: 26 hours
-
Hamburger menu
-
Dragging anywhere in the view should reveal the menu.
-
The menu should include links to your profile, the home timeline, and the mentions view.
-
The menu can look similar to the LinkedIn menu below or feel free to take liberty with the UI.
-
Profile page
-
Contains the user header view
-
Contains a section with the users basic stats: # tweets, # following, # followers
-
Profile page
-
Optional: Implement the paging view for the user description.
-
Optional: As the paging view moves, increase the opacity of the background screen. See the actual Twitter app for this effect
-
Optional: Pulling down the profile page should blur and resize the header image.
-
Home Timeline
-
Tapping on a user image should bring up that user's profile page
-
Optional: Account switching
-
Long press on tab bar to bring up Account view with animation
-
Tap account to switch to
-
Include a plus button to Add an Account
-
Swipe to delete an account
- Had some trouble with the header cell, needed to lookup way to calculate cell height--AutoLayout didn't like to figure it out automatically like normal cells.
- This in turn caused a constraint warning to come up for 'UIView-Encapsulated-Layout-Width' which I tried to fix by changing constraint priorities (per solutions on StackOverflow) but didn't seem to help. Luckily, this doesn't seem to cause any layout issues, however.
- Account switching does not save access tokens for multiple users so will have to login again while switching.