Skip to content

amywutoo/MailboxDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Mailbox

The purpose of this homework is to leverage animations and gestures to implement more sophisticated interactions. We're going to use the techniques from this week to implement the Mailbox interactions.

Time spent: 25

Features

Required

  • 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 dismiss 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.
    • If the menu is being revealed when the user lifts their finger, it should continue revealing.
    • If the menu is being hidden when the user lifts their finger, it should continue hiding.
  • Tapping on compose should animate to reveal the compose view.
  • Tapping the segmented control in the title should swipe views in from the left or right.
  • Shake to undo.

The following additional features are implemented:

  • List anything else that you can get done to improve the app functionality!

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. I could not completed this homework assignment. I would love to see the different ways other students tackled the pan gesture while animating the color bars and showing/hiding the icons.

  2. I watched Tim's video and looked over course materials. I met with past alum for 1on1 and looked at their Github repos, but it was hard to grasp what they did versus the method I was doing. I don't want to just copy and paste because I don't think I'm actually learning or understanding what is being written in the code. I wonder how others are fairing in class. It seems like others are catching on much faster. I want to utilize my time better. For example, I don't think spending 25 hours on this assignment did me any good because it's not about how long I spent, but how should I go about breaking down the problem in steps.

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

GIF created with LiceCap.

Notes

Describe any challenges encountered while building the app.

  • Any libraries or borrowed content.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages