I'm stumped so posting here.
I have some vendor code that supplies a dictionary: [String: [String: Obj]], where Obj is a ObjC object with a "tag" and "value", both are strings. I'd love to use a higher level Swift library method to do the following:
var dict: [String: String] = [:]
input.forEach() { (key, obj) in
dict[obj.tag] = obj.value
}
Can I use map for this? [I tried to get it but no luck.]