Compile error in Swift 4 on parameter passing
In Swift 4, tuples are treated more stricter than ever. This closure type: (Void)->Void means a closure which takes a single argument, of which the type is Void returns Void, meaning returns no value So, try any of the followings: Pass a value of type Void to the closure. (An empty tuple () is the … Read more