Avatar
norio_nomura 5/2/2017 4:08 AM
StringBidirectionalCollection に変わるので joined() の型も変わってしまう。 var str = [ "Hello, playground" ].joined() type(of: str) // 3.1: String.Type, 4.0: FlattenBidirectionalCollection<Array<String>>.Type