cestewar / mailbox-assignment

0 stars 0 forks source link

[iOS Designer Bootcamp] Project 3 - Rate my app #1

Open cestewar opened 9 years ago

cestewar commented 9 years ago

I was finally able to submit a repository for my app. Turns out there was a corrupted file in the .git folder that was preventing it from pushing. I had to show the hidden .git file, delete all of the contents, and then change the name of the repository because it (for some other reason) was syncing and deleting all of my xcode controller files. Thank god I had a backup folder...

/cc @thecodepath @codepath

drnick23 commented 9 years ago

The goal of this assignment is to handle different gestures along with animating various view properties such as position, size, rotation, and alpha, so that you could implement common effects such as swiping a row in a table, revealing or hiding a tray, or dragging and dropping items.

Great work again Cameron! I enjoy featuring your work because of all the little attention to detail you put in to get it feeling right!

One thing to watch out for is putting UIView.animation blocks inside code that will get called frequently, like your gesture changed blocks. What happens, is each time the gesture updates your uiview.animation will fire a new animation, and it can appear quirky. If you want to fire an animation just the once when the finger passes a threshold, you could use an extra variable like "animationDidFire" and set it to true, and then make sure you test that you don't already have an animation running. You'll need to remember to set it to false when you cross back over the threshold, too.