New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBAnimatable without Interface Builder #528
Comments
Support for
|
This was referenced Jan 30, 2018
Here a list of what's left once #536 is merged:
If anyone wants to pick one of these task, feel free to do it. I won't have time to work on these during the next weeks 😬 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, we need to use the subclass like
AnimatableView
. If we can provide an extension property likeib
to UIKit components, then we can use the properties from the protocols e.g.Animatable
,CornerRadiusDesignable
etc. Then we can use thisib
property to set the animatable or designable properties likeview.ib.cornerRadius = 20
in code.view
is a just pureUIView
notAnimatableView
.Since
IBAnimatable
has some powerful protocols, some developer they don't want to use the subclasses (e.g.AnimatableView
) and they don't want to make a subclass by themselves. Providing an extension propertyib
can help them useIBAnimatable
easily.The text was updated successfully, but these errors were encountered: