Swiftで配列をn個の要素に分割する. GitHub Gist: instantly share code, notes, and snippets.
https://gist.github.com/sumitokamoi/22b8f30c2c1a3ef93cb1f03d4a7e8066