Code Monkey home page Code Monkey logo

tweeter's Introduction

Tweeter

Tweeter is a basic twitter app to read and compose tweets from the Twitter API.

Time spent: 40 hours spent in total

User Stories

The following required functionality is completed:

  • 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.

The following optional features are implemented:

  • 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.

The following additional features are implemented:

  • Added accessory view to textview, like the real Twitter app
  • New tweet character limit count changes color to red when fewer than 20 chars left
  • Edited the cursor position in the textview, like the real Twitter app
  • Change all fonts and colors to original Twitter app fonts and colors
  • Speical time stamps: https://puu.sh/xNDuZ/17f1e270e1.png
  • Special number formatting
  • Shows retweets as retweets in the feed
  • Added HUD
  • Added images (that are sized like in the Twitter app)
  • Special formatting for like and retweet counts on detail page (views shift to left, like real app)
  • Custom nav bar

Please list two areas of the assignment you'd like to discuss further with your peers during the next class (examples include better ways to implement something, how to extend your app in certain ways, etc):

  1. Ways to implement link highlighting
  2. How to include gifs and videos

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

https://media.giphy.com/media/3ohhwvta1XbVlR4B8I/giphy.gif

Video Walkthrough

https://media.giphy.com/media/3ohhwJfdHmYj1qj65a/giphy.gif

Video Walkthrough

https://media.giphy.com/media/l1J9CmBGZc8RyWmkw/giphy.gif

GIF created with LiceCap.

License

Copyright [2017] [Eden Shapiro]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Credits

"Close" icon by Hui Qin Ng from the Noun Project
"Heart", "Reply", and "Repost" icons by Al D from the Noun Project

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.