Load a nib file to act as a custom keyboard when a UITextField is tapped
问题 I'm trying to load a .xib file to act as a custom keyboard when a textField is tapped. I'm able to show the .xib file (view) when the textField is tapped but I'm not sure how to communicate the buttons in the .xib file with the a textField in the ViewController.swift . This is what I have done so far. Created a single project. Added a UITextField and created an outlet for it. @IBOutlet weak var myField: MyTextField! Created a new .xib file and called it CustomView.xib . Created a new class