我希望使用字符串和另一个变量的组合来引用Swift中的变量。在PHP中,我通常会执行以下操作: $i = 1 ${'variable' . $i} = 'test' 这与 $variable1 = 'test' 这个在Swift中怎么做?