How do you declare an optional closure as a property in Swift?
I am using this code:
var respondToButton:(sender: UIButton) -> Bool
but the compiler complains that the property is not initialized by the end of the initializer. I believe I can solve this issue by declaring the var as an optional, however, I can not find the correct syntax.
How do I declare this closure property as an optional?