supermarin / ObjectiveSugar

ObjectiveC additions for humans. Ruby style.
MIT License
2.17k stars 190 forks source link

Add shift methods to NSMutableArray. #38

Closed shkutkov closed 10 years ago

supermarin commented 10 years ago

@shkutkov thanks man!

It would be better to use first instead of firstObject, just because it was private and could be broken on some build systems.

On the side note, after some time first and last could be removed from ObjectiveSugar because APL finally added both.

supermarin commented 10 years ago

@shkutkov would you be keen and write tests for your feature? you may want to see the other examples like -pop

shkutkov commented 10 years ago

@mneorr I've added some tests

shkutkov commented 10 years ago

@mneorr done :)

supermarin commented 10 years ago