質問編集履歴

1

追加

2019/01/28 11:25

投稿

amazon_106
amazon_106

スコア50

test CHANGED
File without changes
test CHANGED
@@ -189,3 +189,33 @@
189
189
 
190
190
 
191
191
  ![イメージ説明](937e4956ba398b6434b9ae739d4c4327.png)
192
+
193
+
194
+
195
+ UserPostCellを定義
196
+
197
+ ```ここに言語を入力
198
+
199
+
200
+
201
+ override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
202
+
203
+ let cell = collectionView.dequeueReusableCell(withReuseIdentifier: reuseIdentifier, for: indexPath) as! UserPostCell
204
+
205
+
206
+
207
+ // Configure the cell
208
+
209
+ return cell
210
+
211
+ }
212
+
213
+
214
+
215
+ ```
216
+
217
+ エラーコード
218
+
219
+ Use of undeclared type 'UserPostCell'
220
+
221
+ ![イメージ説明](f603b13d242ea164b162f4dd73f0f7a6.png)