Open ghost opened 7 years ago
a
you can just use as SpringView instead of UIView and it will inherent the UIView Class attributes
let profile = SpringView(frame: CGRect(x: 0, y: 0, width: view.frame.width, height: view.frame.height))
Bonjour
bonjour @Bunthaideng. Does anybody know why we are not able to use "as! SpringView"
It should just work because it is a subclass of UIView
if I have an UIView how can i transfer that to SpringView this is my attempt UIView as! SpringView