Giter Club home page Giter Club logo

swift-assignment-3--twitter's Introduction

Project Name: Swift-Assignment-3:Twitter

Time spent: 18 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.
  • [] User can retweet, favorite, and reply to the tweet directly from the timeline feed

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.

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

Setup

Pods aren't checked in to source control, so please run pod install then open Swift-Assignment-3.xcworkspace and run in Xcode. Tested Xcode version: 7.3.1

License

Copyright [2016] [Huynh Tri Dung]

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.

swift-assignment-3--twitter's People

Contributors

dunghuynh1990 avatar

Watchers

James Cloos avatar  avatar

swift-assignment-3--twitter's Issues

[Assignment 3] Review

๐Ÿ‘ nice work. The point of this homework was to explore a simple example of a full MVC application with a RESTful API.

Grading Summary

  • Functionality: Average
  • Code Style: Good
  • Visual Design:Average
  • Overall: Average

Detailed Notes

  • Nice work specifying the Auto Layout constraints.
  • It'd be better if you disable the Tweet button in NewTweetViewController or show the error when the tweet length is larger than 140.
  • Unfortunately, when I am trying get more tweet, application is crash. Let check it again

screenshot 2016-08-16 19 26 00

- Nice for handling post new tweet. But you can make it better when successfully post, the new tweet can automatically show on `UITableView`.

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.