So this is a function from a class that lets you have a double tap and a single tap gesture. It\'s working fine in Swift 2.3, but after converting to Swift 3 it\'s throwing
Here is the way how i could overcome this. Here clang is not aware about its type. I gave a typealias and optional declaration,
typealias appDelegateBlock = ()->()
In your class, just declare it as optional,
var block: appDelegateBlock? block = task