Hacker News new | ask | show | jobs
by malyk 5162 days ago
Its

UIView.animateWithDuration(0.5, animations:lambda { //do something })

in RubyMotion. Basically the same.