Giter Club home page Giter Club logo

byrdapp's Introduction

ByrdApp

A twitter client providing you a way to manage, tweet, and feeeed.

(all times are approximate)

  • Time spent: 14 hours spent in total
  • Time spent for Redux: 12 hours spent in total

User Stories

Basic Twitter

Required

  • User can sign in using OAuth login flow
  • User can view last 20 tweets from their home timeline
  • The current signed in user will be persisted across restarts
  • In the home timeline, user can view tweet with the user profile picture, username, tweet text, and timestamp. In other words, design the custom cell with the proper Auto Layout settings. You will also need to augment the model classes.
  • User can pull to refresh
  • User can compose a new tweet by tapping on a compose button.
  • User can tap on a tweet to view it, with controls to retweet, favorite, and reply.

Optional

  • When composing, you should have a countdown in the upper right for the tweet limit.
  • After creating a new tweet, a user should be able to view it in the timeline immediately without refetching the timeline from the network.
  • Retweeting and favoriting should increment the retweet and favorite count.
  • User should be able to unretweet and unfavorite and should decrement the retweet and favorite count.
  • Replies should be prefixed with the username and the reply_id should be set when posting the tweet,
  • User can load more tweets once they reach the bottom of the feed using infinite loading similar to the actual Twitter client.

Twitter Upgrade

Required

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

Home Timeline

  • Tapping on a user image should bring up that user's profile page

Optional

Profile page

  • Implement the paging view for the user description.
  • As the paging view moves, increase the opacity of the background screen. See the actual Twitter app for this effect.
  • Pulling down the profile page should blur and resize the header image.

Account switching (optional)

  • 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

Installation

  1. Add TwitterAPI.plist
  2. Add Consumer Key with key "TWITTER_CONSUMER_KEY"
  3. Add Consumer Secret with key "TWITTER_CONSUMER_SECRET"
  4. Install pods from Podlist: pod install
  5. Launch

Walkthrough of all user stories:

Portrait

Video Walkthrough

Landscape

Video Walkthrough

GIF created with LiceCap.

Notes

  • Had an issue with ComposeView where the carat didn't display at the top left of the TextView.
  • Sign Out causes a crash on subsequent loads until deleted and loaded again.

Resources Used

Pods

APIs

Twitter API

Further Reading

Tools

Credits

Personal Notes

  • The layout of the primary content window doesn't set properly after the menu is displayed in landscape mode.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.