質問編集履歴

2

加筆

2015/10/09 08:54

投稿

Kesth
Kesth

スコア83

test CHANGED
File without changes
test CHANGED
@@ -74,9 +74,9 @@
74
74
 
75
75
  ※追記
76
76
 
77
- 下記のコードを試したのですが、「Thread1: signal SIGABRT」
77
+ 下記のコードを試したのですが、let hogeCell1 = 〜ところで
78
78
 
79
- エラーが出てしまいました。
79
+ 「Thread1: signal SIGABRT」のエラーが出てしまいました。
80
80
 
81
81
  どこが間違っているでしょうか?
82
82
 

1

加筆

2015/10/09 08:54

投稿

Kesth
Kesth

スコア83

test CHANGED
File without changes
test CHANGED
@@ -72,6 +72,16 @@
72
72
 
73
73
 
74
74
 
75
+ ※追記
76
+
77
+ 下記のコードを試したのですが、「Thread1: signal SIGABRT」の
78
+
79
+ エラーが出てしまいました。
80
+
81
+ どこが間違っているでしょうか?
82
+
83
+
84
+
75
85
 
76
86
 
77
87
  ```Swift
@@ -80,11 +90,11 @@
80
90
 
81
91
 
82
92
 
83
- let hogeCell1 = HogeCell1()
93
+ let hogeCell1 = tableView.cellForRowAtIndexPath(indexPath) as! HogeCell1()
84
94
 
85
- let hogeCell2 = HogeCell2()
95
+ let hogeCell2 = tableView.cellForRowAtIndexPath(indexPath) as! HogeCell2()
86
96
 
87
- let hogeCell3 = HogeCell3()
97
+ let hogeCell3 = tableView.cellForRowAtIndexPath(indexPath) as! HogeCell3()
88
98
 
89
99
 
90
100