objcio / issue5-view-controller-transitions

Simple demo app showing custom view controller transitions
124 stars 25 forks source link

Two issues #1

Open NeoTeo opened 10 years ago

NeoTeo commented 10 years ago

Hello. Firstly thanks for the many good articles and useful tutorials. I have noticed a couple of issues with this particular example:

1) It is possible to get the program into a broken state (stuck on the "Hello, world" page) by popping immediately after a push, that is, by tapping and then swiping to the right before the first transition is done.

2) This is a minor issue in your example, but swiping right to left also starts the transition which is easily avoided with a translation.x sign check.

Hope the feedback is useful. Best regards, Teo Sartori

fastred commented 10 years ago

I've fixed these issues (at least to my knowledge) in SloppySwiper, a library that is heavily based on this article.