On Apr 18, 2016, at 01:07 , Devarshi Kulshreshtha <devarshi.bluec...@gmail.com> 
wrote:
> 
>    extension DismissKeyboardOnOutsideTap {
>        func configureToDismissKeyboard() {
>            …
>        }
> 
>        func hideKeyboard() {
>            …
>        }
> 
>    }

I think the problem is that your methods are Swift functions, and so have 
mangled names. It should be enough to declare protocol as an Obj-C protocol:

> @objc protocol DismissKeyboardOnOutsideTap {
>        …
>    }

Since all the classes involved are Obj-C classes, I don’t think it has to be 
any more complicated than this.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to