3 ms·
> UIView already provides a similar method built into the API. Yeah, it's actually much, much simpler to do it in Objective-C in this case. [UIView animat
by conradev 15y ago
> UIView already provides a similar method built into the API.
Yeah, it's actually much, much simpler to do it in Objective-C in this case.
[UIView animateWithDuration:0.5f animations:^{
// Do something
}];
- malyk 15y agoIts UIView.animateWithDuration(0.5, animations:lambda { //do something }) in RubyMotion. Basically the same.
- deleted 15y ago[deleted]