Tag: dynamicinput

如何dynamic转换成一个在Swift 2.0中以string命名的types?

我需要将一个返回值转换为我需要保持dynamic的特定types let cellType = "CellTypeToBeResolved" cell = (tableView.dequeueReusableCellWithIdentifier("myID") as? CellTypeToBeResolved)! 在Swift 2.0中这怎么可能? 日Thnx!