Little Snippets #1: Group By in Swift 31312Fernando Martín OrtizIvan DilchovskiFollowFeb 24, 2017 · 1 min readYou could simplify the implementation with reduce.