Really cool! I'd argue that Swift doesn't really have much to do with this, more "Animations in iOS".<p>You brought up a couple of neat concepts that I wasn't aware of, especially "UISystemAnimation.Delete".
Thanks for submission!<p>I've had some feedback that I've made a bit of a mess with casting when trying to calculate a random number - would appreciate any best practices or thoughts on that...<p><a href="https://gist.github.com/mathewsanders/82311409978066b02932" rel="nofollow">https://gist.github.com/mathewsanders/82311409978066b02932</a>
This just feels like more proof that Swift will be nominally better than ObjC for the next 5 years, until Apple's APIs are (re?)written to make use of reasonable Swift idioms.<p>Also, this is the community's periodic reminder that not all ObjC (and soon Swift) is iOS; people still write (and use! imagine that!) OS X apps.