回答編集履歴
1
修正、追加
answer
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
-
これでどうでしょうか
|
1
|
+
これでどうでしょうか(修正)
|
2
2
|
```swift
|
3
|
-
let csvBundle =
|
3
|
+
let csvBundle = Bundle.main.path(forResource: "start", ofType: "csv")
|
4
|
+
```
|
5
|
+
追加
|
6
|
+
```swift
|
7
|
+
let csvData = try? NSString(contentsOfFile: csvBundle!, encoding: String.Encoding.utf8.rawValue)
|
8
|
+
|
9
|
+
//public convenience init(contentsOfFile path: String, encoding enc: UInt) throws
|
10
|
+
//エラーハンドリングなし
|
4
11
|
```
|