for group in data {
let userNames = group.1.reduce("username ", combine: { (current, userInfo) -> String in
return "\(current), \(userInfo["username"]!)"
})
print("\(group.0) \(userNames)")
}
2
solved NSDictionary with swift [closed]