FlightAnimator icon indicating copy to clipboard operation
FlightAnimator copied to clipboard

Respect slow animations in the iOS simulator

Open ZevEisenberg opened this issue 7 years ago • 5 comments

It probably won't be easy, but this may help: http://stackoverflow.com/questions/13275294/detect-if-slow-animations-is-on-off-in-ios-simulator-in-code

ZevEisenberg avatar Apr 28 '17 00:04 ZevEisenberg

This one is definitely gonna throw me for a loop to ensure I can pass through apple's approval system

AntonTheDev avatar Apr 28 '17 14:04 AntonTheDev

Only do it if you're building for simulator. The code won't be compiled in to device builds.

Related: it could be cool to have a global FlightAnimator override for slow animations, in case you want more control over them than the simulator can offer.

ZevEisenberg avatar Apr 28 '17 14:04 ZevEisenberg

Like a multiply the duration by 10x type of thing?

AntonTheDev avatar Apr 28 '17 14:04 AntonTheDev

Yep! It's something I've often wished I'd built in to my own animation code, but I never remember to do it until it's impractically late.

ZevEisenberg avatar Apr 28 '17 14:04 ZevEisenberg

I think I might implement it as part of the logging solution I'm setting up at the moment. When debug mode is enable I'll add the the ability for a shake to turn on/off 10x timers while logging is turned on for debug

AntonTheDev avatar Apr 28 '17 19:04 AntonTheDev