swift 学习笔记 1. 数组中取出字符串的方法: 1)let string = "arr[0]" 2) let string = String(stringInterpolationSegment: arr[0]) 此方法可以把各种类型的数据转换为字符串。