Use functional programming style .map() to make things more dry.  Not sure if this is more readable... thinking once you internalize .map() it might be
Use functional programming style .map() to make things more dry.  Not sure if this is more readable... thinking once you internalize .map() it might be

mattorb/iOS-Swift-Key-Smash