I have 2 arrays:
var identic = [String]() var linef = [String]()
I\'ve appended them with data. Now for usability purposes my goal
A slightly different method, which doesn't require the arrays to be of the same length, because the zip function will safely handle that.
zip
extension Dictionary { init(keys: [Key], values: [Value]) { self.init() for (key, value) in zip(keys, values) { self[key] = value } } }