阅读背景:

当函数被赋值给变量时不允许使用Swift参数?

来源:互联网 

Swift 3 requires that all argument labels be included in a function call by default. Yet when a function is assigned to a variable (or constant), and the variable passes arguments, no argument labels are necessary—or even allowed.Swift 3 requires that all argument labels be in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: