Add NSArray#sample
Fix some typo and mistake in README

Signed-off-by: onevcat <onevcat@gmail.com>
Change NSArray's objectForKeyedSubscript: action

Change it from simply range make to a ruby-like range literals. Using '..' run from the beginning to the end inclusively, and '…' for exclude the end value. For making range from string, using 'x,y' might be a good idea.

Signed-off-by: onevcat <onevcat@gmail.com>
Merge pull request #31 from irrationalfab/NSArray#sample

Add NSArray#sample
Add shift methods to NSMutableArray.
Simplify shift method avoiding unnecessary condition
Use first method instead of firstObject, because of last one was private
Avoid unnecessary condition on numberOfElements. Add a few tests for shift methods
Merge pull request #36 from onevcat/master

Fix some typo and mistake in README. Change NSArray's objectForKeyedSubscript: action
Formatting
Merge pull request #38 from shkutkov/master

Add shift methods to NSMutableArray.
[NSArray] Add -find and -sortBy
[NSArray] Foward find to detect
Merge pull request #39 from irrationalfab/irrationalfab-additions

[NSArray] Add -find and -sortBy
Sample with arc4random_uniform()
Handle sampling of empty collections
Sample via allObjects
Merge pull request #40 from kastiglione/uniform-sample

Uniform sample
Added -strip to NSString additions
Merge pull request #41 from alladinian/master

Added -strip to NSString additions