回答編集履歴
2
修正が反映されなかったのでリトライ
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
numberOfSectionは `(posts.count-1)/6+1`
|
6
6
|
|
7
|
-
numberOfItemsInSectionは `section<
|
7
|
+
numberOfItemsInSectionは `section<posts.count/6 ? 6 : posts.count%6`
|
8
8
|
|
9
9
|
をそれぞれ返せばいいのではないでしょうか?
|
10
10
|
|
1
誤字を修正
test
CHANGED
File without changes
|