jlandon / Alexandria

A library of Swift extensions to turbocharge your iOS development.
https://jlandon.github.io/Alexandria
MIT License
65 stars 8 forks source link

Adding in `rotate` and `mapWithIndex` to Array. Tests included. #10

Closed krider2010 closed 8 years ago

jlandon commented 8 years ago

Might be nice to add a mutating version also

public mutating func rotateInPlace(shift: Int) {
   self = rotate(shift)
}
hsoi commented 8 years ago

@jlandon if you're good, I'm good. Let me know.

jlandon commented 8 years ago

Looks good to me :+1: