mattjgalloway/MJGFoundation — pull request #2 by mikeabdullah (2012-09-18 23:23:46+00:00)
Title: Simplify adding multiple objects

Replaces `-addObjects:` with `-addObjectsFromArray:` which returns an `NSIndexSet`.

I realise there is one downside to this method: as an index *set*, there's no inherent ordering. So you can't, say, look up "where was the second object from my array inserted?". I'm inclined to say such a question doesn't make sense in the real world; that if you needed to know that, you might as well iterate the array inserting one-by-one anyway.