[Int](courses.keys) 這種寫法怎么會報錯了?Array(courses.keys)是可以的,xcode版本6.3.2 難道是swift 1.2版本這種寫法不行了?
cannot find an initializer for type '[(Int)]' that accepts an argument list of type '(LazyForwardCollection<MapCollectionView<Dictionary<String, String>, String>>)'
2015-08-07
你的字典key是int嗎?我這邊兩種都可以的,Xcode6.4