I created custom class and wrote init like this
override init(frame: CGRect) { super.init(frame: frame) }
and I called this with Obj-C li