Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Proposed flip transition for views on iOS #66

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sfsam
Copy link

@sfsam sfsam commented Feb 12, 2024

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+.

@thomasokken
Copy link
Owner

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!

@sfsam
Copy link
Author

sfsam commented Feb 14, 2024

Thank you for taking a look, Thomas. I'm looking forward to seeing how you adapt the app to the iPad.

Instead of abruptly switching from the calc view
to preferences, states, skins, etc., transition
with a flip animation. This gives the user more
visual feedback and is more pleasing to the eye.
@thomasokken thomasokken force-pushed the master branch 3 times, most recently from 9de8373 to 4e828eb Compare December 10, 2024 22:24
@thomasokken thomasokken force-pushed the master branch 2 times, most recently from 46aa61c to 08de8bd Compare January 10, 2025 11:45
@thomasokken thomasokken force-pushed the master branch 2 times, most recently from f4fb1fa to c205a40 Compare January 23, 2025 06:47
@thomasokken thomasokken force-pushed the master branch 3 times, most recently from e37d203 to f7a95f5 Compare February 27, 2025 11:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants