Okay, I updated the demo app so 0° is at the top of the circle. This makes me feel better about everything in general and makes me wonder what could possibly have motivated me not to do this from the very beginning. Sometimes I’m amazed I’m able to remember on which foot to put which shoe.
In my never ending quest to make life difficult for myself, I ran into a difficulty with iOS rotation animations. I could be entirely wrong about this — it’s been known to happen — but there seems to be a default device-orientation animation that iOS plays when switching from portrait to landscape, for instance. It rotates the SKScene using a .scaleMode such as .aspectFit which, I guess, is okay for some purposes. The thing is, for the life of me, I couldn’t find a way to replace that animation with one I preferred more. I could find no shortage of ways to add more animations on top of it, but no way to right out replace it.
Now it’s using SprikeKit instead of text labels. This gives me the ability to animate the background and add celebratory particle effects galore, Going through several product names. Currently it’s Finga Timekeeper. They can’t all be gems.
There’s a process to these things. Iterate, iterate, iterate. Stop iterating and ship the product. Start anew on the next project with a light heart and lessons learned.
Screen capture from the iOS app version of the Timebot.
So, I want to port Timebot from node.js to iOS Swift. This is a quick prototype of the layout. No actual code yet.
I’ve been playing with Swift Playgrounds on the iPad Pro, getting re-acquainted with the particularities of Swift.