Utils.swift 208 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//
//  Utils.swift
//  Pods
//
//  Created by Mauro Bender on 14/8/16.
//
//

import Foundation

func += <K, V> (inout left: [K:V], right: [K:V]) {
	for (k, v) in right {
		left.updateValue(v, forKey: k)
	}
}