I have worked quite a lot with protocols like delegates and data sources and I recently worked on something using the UIKeyInput
protocol.
I am used to things like self.tableView.delegate = self
but with UIKeyInput
I didn't need to that. But the protocol methods I implemented (e.g. insertText:
etc.) got called nevertheless.
Can someone explain to me how this works?
Thanks very much for your help!