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

質問編集履歴

4

修正

2018/08/22 01:25

投稿

nekokichi
nekokichi

スコア54

title CHANGED
File without changes
body CHANGED
@@ -144,7 +144,7 @@
144
144
  ![イメージ説明](da169ae9dc6ca0d53f58ac0e9c47c202.png)
145
145
  ![イメージ説明](107c162d61b389d55e27c300871102e3.png)
146
146
  ![イメージ説明](56b108eec62792ae099bb6e43355a783.png)
147
- ![イメージ説明](0d76645b57e2f55c89bc273d7badc80c.png)
147
+ ![イメージ説明](1e1c20a7d2c6ac954a4a4dc4109a7949.png)
148
148
  ![イメージ説明](a01f948bfc39e512aaf019378ae5d77e.png)
149
149
 
150
150
 
@@ -161,19 +161,4 @@
161
161
  2018-08-22 09:38:55.508647+0900 MyAcchiMuiteHoi[8071:235142]
162
162
  Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController'
163
163
  (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990). (lldb)
164
- ```
165
-
166
-
167
- print(segue.destination)をlet gameover_instance = segue.destination as! GameOverViewControllerの上に配置した場合のエラーコードです。
168
-
169
- ```エラーコード2
170
- <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210>
171
- <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210>
172
-
173
- Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController'
174
- (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8).
175
-
176
- 2018-08-22 09:36:59.398950+0900 MyAcchiMuiteHoi[7979:233301]
177
- Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController'
178
- (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8). (lldb)
179
164
  ```

3

エラーコードの編集

2018/08/22 01:25

投稿

nekokichi
nekokichi

スコア54

title CHANGED
File without changes
body CHANGED
@@ -154,12 +154,26 @@
154
154
 
155
155
  上記のエラーコードがこちらです。
156
156
 
157
- Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990).
158
- 2018-08-22 09:38:55.508647+0900 MyAcchiMuiteHoi[8071:235142] Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990). (lldb)
157
+ ```エラーコード1
158
+ Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController'
159
+ (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990).
159
160
 
161
+ 2018-08-22 09:38:55.508647+0900 MyAcchiMuiteHoi[8071:235142]
162
+ Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController'
163
+ (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990). (lldb)
164
+ ```
160
165
 
166
+
161
167
  print(segue.destination)をlet gameover_instance = segue.destination as! GameOverViewControllerの上に配置した場合のエラーコードです。
162
168
 
163
- <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210> <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210>
164
- Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8).
165
- 2018-08-22 09:36:59.398950+0900 MyAcchiMuiteHoi[7979:233301] Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8). (lldb)
169
+ ```エラーコード2
170
+ <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210>
171
+ <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210>
172
+
173
+ Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController'
174
+ (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8).
175
+
176
+ 2018-08-22 09:36:59.398950+0900 MyAcchiMuiteHoi[7979:233301]
177
+ Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController'
178
+ (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8). (lldb)
179
+ ```

2

エラーコードの編集

2018/08/22 00:57

投稿

nekokichi
nekokichi

スコア54

title CHANGED
File without changes
body CHANGED
@@ -154,9 +154,12 @@
154
154
 
155
155
  上記のエラーコードがこちらです。
156
156
 
157
- Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990). 2018-08-22 09:38:55.508647+0900 MyAcchiMuiteHoi[8071:235142] Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990). (lldb)
157
+ Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990).
158
+ 2018-08-22 09:38:55.508647+0900 MyAcchiMuiteHoi[8071:235142] Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990). (lldb)
158
159
 
159
160
 
160
161
  print(segue.destination)をlet gameover_instance = segue.destination as! GameOverViewControllerの上に配置した場合のエラーコードです。
161
162
 
162
- <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210> <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210> Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8). 2018-08-22 09:36:59.398950+0900 MyAcchiMuiteHoi[7979:233301] Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8). (lldb)
163
+ <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210> <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210>
164
+ Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8).
165
+ 2018-08-22 09:36:59.398950+0900 MyAcchiMuiteHoi[7979:233301] Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8). (lldb)

1

エラーコードを記述

2018/08/22 00:45

投稿

nekokichi
nekokichi

スコア54

title CHANGED
File without changes
body CHANGED
@@ -145,4 +145,18 @@
145
145
  ![イメージ説明](107c162d61b389d55e27c300871102e3.png)
146
146
  ![イメージ説明](56b108eec62792ae099bb6e43355a783.png)
147
147
  ![イメージ説明](0d76645b57e2f55c89bc273d7badc80c.png)
148
- ![イメージ説明](a01f948bfc39e512aaf019378ae5d77e.png)
148
+ ![イメージ説明](a01f948bfc39e512aaf019378ae5d77e.png)
149
+
150
+
151
+
152
+
153
+ 「追記」
154
+
155
+ 上記のエラーコードがこちらです。
156
+
157
+ Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990). 2018-08-22 09:38:55.508647+0900 MyAcchiMuiteHoi[8071:235142] Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x108a8ba50) to 'MyAcchiMuiteHoi.GameOverViewController' (0x108a8b990). (lldb)
158
+
159
+
160
+ print(segue.destination)をlet gameover_instance = segue.destination as! GameOverViewControllerの上に配置した場合のエラーコードです。
161
+
162
+ <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210> <MyAcchiMuiteHoi.ChoiceHandViewController: 0x7fcf1dc29210> Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8). 2018-08-22 09:36:59.398950+0900 MyAcchiMuiteHoi[7979:233301] Could not cast value of type 'MyAcchiMuiteHoi.ChoiceHandViewController' (0x10864da78) to 'MyAcchiMuiteHoi.GameOverViewController' (0x10864d9b8). (lldb)