I have an array and want to map its values to a different array, based on a given transformation.
// Initialize the Array var a = [1,2,3,4,5,6] // Map values to their doubles: 1->2, 2->4, etc. var b = a.map { $0 * 2 } print(b)
* Please let us know about anything: issues/feature request/suggestions......And we'll do our best to get back to you asap! :)
Or just post your issue on iSwift's Official Issue Tracker