Open sfsam opened 6 months ago
Hi Sanjay, I'm not going to use your patch right away -- I just got started on iPad support, and at some point I'll probably want to redo the way dialogs are presented, so they don't fill the entire screen on iPads. But I agree that it would be nicer to have animated transitions. I appreciate the patch!
Thank you for taking a look, Thomas. I'm looking forward to seeing how you adapt the app to the iPad.
Hi Thomas, This is a proposed flip transition animation for switching between the calculator view and preferences, states, skins, etc. on iOS. Instead of an abrupt switch, we transition with a flip animation which gives the user visual feedback and is more pleasing to the eye. Going back to the calculator view flips the opposite way.
The code is minimal. The original calls were just wrapped in a call to
+[UIView transitionWithView:duration:options:animations:completion:]
, API compatible with iOS 4.0+.