github/ReactiveCocoa — pull request #4 by jonsterling (2012-05-11 21:00:42+00:00)
Title: RACTuple: add support for modern object subscripting

Added category `RACTuple(ObjectSubscripting)` which implements `-objectAtIndexedSubscript:`, allowing tuples to be accessed with subscripts (e.g. `tuple[3]`). The specific implementation is based on `-safeObjectAtIndex:`, though I'm not exactly married to the idea.

This doesn't change the backwards compatibility of RAC, but rather allows consumers with newer compilers to take advantage of Objective-C's new syntax. See [Clang/Objective-C Literals](http://clang.llvm.org/docs/ObjectiveCLiterals.html) for more information.