I have a Swift class:
class MyTextField : NSObject, UITextFieldDelegate { var myField: UITextField
I added a property (not shown) to set myField and everything works.
I would like to use the init function if only the syntax were not a complete mystery. Any ideas?
ios objective-c swift
Gerry
source share