I have what I thought to be a very simple protocol extension for my UIViewControllers providing the capability to dismiss a keyboard through a tap gesture. Here
UIViewController
Here's my idea: avoid mixing swift protocol & objc protocol.