Open holgersindbaek opened 8 years ago
The attributed string changes are definitely welcome, I'm not so sure on the anim
method, it's obviously useful, but it's lacking in "obviousness". I would expect anim
to be an alias for animate
.
The view.move_to
method is very similar (well, similar to the example - I can see that anim
could be used to animated opacity and other things), and is more self documenting. Someone reading view.anim(:y, 42)
might not understand what that code does without looking it up or running it, but view.move_to([x, y])
is obvious.
Thoughts?
A few convenience methods animations and attributed string. Hope you'll include.