I went to pull some data out of a NSArray, and found that the array did not follow idiomatic iterator design. I was going to leave the original map method around, but found that it was referenced in only a few spots, and several of those spots wanted iterators anyway.
So this adds NSArray iteration, and removes the .map(transform) method, which was equivalent to .iter().map(transform).collect()
I went to pull some data out of a NSArray, and found that the array did not follow idiomatic iterator design. I was going to leave the original
map
method around, but found that it was referenced in only a few spots, and several of those spots wanted iterators anyway.So this adds NSArray iteration, and removes the
.map(transform)
method, which was equivalent to.iter().map(transform).collect()