我有以下字符串
var points = "4,5"
我想转换为一个可变数组,所以它变成[4,5]我尝试了以下但它没有用
var points = "4,5" var selectedArray : NSMutableArray = [points]
swift
swift ×1