Code Monkey home page Code Monkey logo

mailbox's Introduction

Mailbox

This is an iOS demo application for the message triaging functions of the Mailbox app.

Time spent: 18 hours spent in total + 3 hours spent on doing part of the lab at home

Completed user stories:

On dragging the message left...

  • Initially, the revealed background color should be gray.
  • As the reschedule icon is revealed, it should start semi-transparent and become fully opaque. If released at this point, the message should return to its initial position.
  • After 60 pts, the later icon should start moving with the translation and the background should change to yellow.
  • Upon release, the message should continue to reveal the yellow background. When the animation it complete, it should show the reschedule options.
  • After 260 pts, the icon should change to the list icon and the background color should change to brown.
  • Upon release, the message should continue to reveal the brown background. When the animation it complete, it should show the list options.
  • User can tap to dismissing the reschedule or list options. After the reschedule or list options are dismissed, you should see the message finish the hide animation. On dragging the message right...
  • Initially, the revealed background color should be gray.
  • As the archive icon is revealed, it should start semi-transparent and become fully opaque. If released at this point, the message should return to its initial position.
  • After 60 pts, the archive icon should start moving with the translation and the background should change to green.
  • Upon release, the message should continue to reveal the green background. When the animation it complete, it should hide the message.
  • After 260 pts, the icon should change to the delete icon and the background color should change to red.
  • Upon release, the message should continue to reveal the red background. When the animation it complete, it should hide the message.
  • Optional: Panning from the edge should reveal the menu
  • Optional: If the menu is being revealed when the user lifts their finger, it should continue revealing.
  • Optional: If the menu is being hidden when the user lifts their finger, it should continue hiding.
  • Optional: Tapping on compose should animate to reveal the compose view.
  • [-] Optional: Tapping the segmented control in the title should swipe views in from the left or right.
  • [-] Optional: Shake to undo.

Notes: This was definitely more of a struggle. Much more programming and code, but fun, as well. I found myself getting a bit lost at times, but struggling through the logic on the conditionals for the gesture recognizer flows was a good experience. At one point, I borked my repo, and Tim had to rescue my work and revert an old commit. Luckily, I didn't lose a ton of work ... the process also helped me debug one part of my interation, where I had made a quick change to positions of elements on my storyboard that made things disappear in the UI. I changed the size and placement of the scrollview which threw a bunch of things off. Once I figured out what I had done, it wasn't too bad to recover.

Walkthrough of all user stories:

Video Walkthrough

GIF created with LiceCap.

mailbox's People

Contributors

frankyoo avatar

Watchers

Timothy Lee avatar  avatar

mailbox's Issues

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.