Transform square into circle
nunogoncalves opened this issue · 3 comments
nunogoncalves commented
Ok, i realize this is not an issue and I'm sorry for that.
But I was wondering if it is possible to transform a square into a circle and vice versa and if so, how could I accomplish that?
Thanks in advance.
jhersh commented
You could make a simple subclass of IFTTTAnimation
that animates the layer.cornerRadius
property. Have a look at IFTTTAlphaAnimation
for something similar.
nunogoncalves commented
Thank you @jhersh. :)
I managed to do it.
Would you be interested in accepting a PR with that feature if I managed to create it successfully? I say if I managed because I'm still very green with iOS dev, one month exp, and only in swift.
jhersh commented
Sure!