When studying a single issue, I came across this SO question:
How to create general closures in Swift
They have a function definition as follows:
func saveWithCompletionObject(obj : AnyObject, success : AnyObject -> Void, failure : Void -> Void)
What does ->in mean AnyObject -> Void?
source
share