Christian Sousa
Unable to call non-designated initializer as super constructor
private class Select: UITextField { @OverrideInit constructor(): super() override fun caretRectForPosition(position: UITextPosition): CValue<CGRect> { return CGRectMake(x = 0.0, y = 0.0, width = 0.0, height = 0.0) } override fun selectionRectsForRange(range: UITextRange): List<*> { return listOf<Any?>(null) } override fun canPerformAction(action: COpaquePointer?, withSender: Any?): Boolean { return false } }
disableDesignatedInitializerChecks
Nikolay Kasyanov
super(frame: CGRectZero)
UITextField(frame = CGRectZero.readValue())
ribesg
UITextField(cValue())
override fun selectionRectsForRange(range: UITextRange): List<*> { return listOf<UITextSelectionRect>() }
A modern programming language that makes developers happier.