You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we need to use the subclass like AnimatableView. If we can provide an extension property like ib to UIKit components, then we can use the properties from the protocols e.g. Animatable, CornerRadiusDesignable etc. Then we can use this ib property to set the animatable or designable properties like view.ib.cornerRadius = 20 in code. view is a just pure UIView not AnimatableView.
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 property ib can help them use IBAnimatable easily.
The text was updated successfully, but these errors were encountered:
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: