Animations in Swift
mathewsanders.com
Animations in Swift
1–7 of 7 posts
Re: Animations in Swift
#2I'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...
Re: Animations in Swift
#3You brought up a couple of neat concepts that I wasn't aware of, especially "UISystemAnimation.Delete".
Re: Animations in Swift
#4Really cool! I'd argue that Swift doesn't really have much to do with this, more "Animations in iOS". You brought up a couple of neat concepts that I wasn't aware of, especially "UISystemAnimation.Delete".
The main goal was try and introduce these APIs to designers, since there seems to be a current of interest around designers getting excited about learning Swift.
Re: Animations in Swift
#5Thanks for submission! 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... https://gist.github.com/mathewsanders/82311409978066b02932
Re: Animations in Swift
#6Thanks for submission! 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... https://gist.github.com/mathewsanders/82311409978066b02932
arc4random_uniform
delay = NSTimeInterval(arc4random_uniform(900)+100) / 1000
Not sure why I didn't do that in the first place...
Re: Animations in Swift
#7Also, 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.