2.2.1 参数标签与参数名称 (Argument Label and Parameter Name) Swift 函数参数详解:参数标签与参数名称 (Argument Label and Parameter Name) 2.2.1 参数标签与参数名称 (Argument Label and Parameter Name) Swift 函数的参数列表中的每个参数都由两部分组成:参数标签 (Argument Label) 和 参数名称 (Parameter Name)。 参数名称 (Parameter Name):参数名称是在函数内部使用的名称,用于在函数体中引用该参数的值。它就像一个局部变量,在函数的作用域内有效。