質問するログイン新規登録

質問編集履歴

1

試したことに追記

2021/03/12 03:54

投稿

pichon_
pichon_

スコア2

title CHANGED
File without changes
body CHANGED
@@ -60,6 +60,11 @@
60
60
     Text(nameE.index).tag(index)
61
61
  }
62
62
 
63
+ Pickerの内部を以下のように修正しましたが,以下のようなエラーが発生しました.
64
+ List(0..<nameE.count){index in
65
+ Text(nameE[index])
66
+ Cannot convert value of type 'Int' to expected argument type 'Range<String.Index>'
67
+
63
68
  ```
64
69
 
65
70
  ### 補足情報(FW/ツールのバージョンなど)