soffes / sstoolkit

A collection of well-documented iOS classes for making life easier
MIT License
3.31k stars 573 forks source link

Update SSToolkit/NSMutableArray+SSToolkitAdditions.m #159

Closed acacio88 closed 11 years ago

acacio88 commented 11 years ago

Declaring i as an NSUInteger causes an exception when the NSMutableArray is empty. Indeed 0 - 1 == maximum integer value when the given integer is unsigned.

soffes commented 11 years ago

Thanks!