github/ReactiveCocoa — pull request #97 by joshaber (2012-11-03 03:48:28+00:00)
Title: Better +combineLatest:reduce:

**Note:** This is a breaking change.

This changes `+combineLatest:reduce:` so that the reduce block is now passed the latest values from the subscribables, instead of being given a tuple which it has to unpack.

``` objc
[RACSubscribable combineLatest:@[ thing1, thing2 ] reduce:^(RACTuple *xs) {
id thing1 = xs[0];
id thing2 = xs[1];
return [thing1 with:thing2];
}];
```

vs.

``` objc
[RACSubscribable combineLatest:@[ thing1, thing2 ] reduce:^(id thing1, id thing2) {
return [thing1 with:thing2];
}];
```