回答編集履歴

2

修正が反映されなかったのでリトライ

2018/05/30 11:46

投稿

on0z
on0z

スコア25

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  numberOfSectionは `(posts.count-1)/6+1`
6
6
 
7
- numberOfItemsInSectionは `section<(posts.count-1)/6+1 ? 6 : posts.count%6`
7
+ numberOfItemsInSectionは `section<posts.count/6 ? 6 : posts.count%6`
8
8
 
9
9
  をそれぞれ返せばいいのではないでしょうか?
10
10
 

1

誤字を修正

2018/05/30 11:46

投稿

on0z
on0z

スコア25

test CHANGED
File without changes