Xcode6-Beta (6A215l): Add functional "each" method to arrays

Originator:me
Number:rdar://17160567 Date Originated:04-Jun-2014 02:24 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode6-Beta (6A215l)
Classification:Feature (New) Reproducible:Always
 
Summary:
Currently there’s now way to functionally iterate an array of objects other than with “for in” loops.

Steps to Reproduce:
Declare an array; trying to iterate with a functional method.

Expected Results:
Swift provides a “each” method that will iterate through the array and return each method (similar to map but without the need to actually map the results)

Actual Results:
There’s no method available to do this

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!