Sorry. I will fix it.


2013/12/1 segiddins <notifications@github.com>

> In BlocksKit/NSArray+BlocksKit.h:
>
> > +
> > + NSArray *peoples = @[p1, p2, p3];
> > + int totalAge = 0;
> > + for (People *people in peoples) {
> > +    totalAge += [people age];
> > + }
> > +
> > + We can use block to make it better:
> > +
> > + NSArray *peoples = @[p1, p2, p3];
> > + int totalAge = [peoples reduceInt:0 WithBlock:^int(NSInteger result, id obj, NSInteger index) {
> > +    return result + [obj age];
> > + }];
> > +
> > + */
> > +- (NSInteger)reduceInt:(NSInteger)initial WithBlock:(BKAccumulationBlockInt)block;
>
> any reason the w in with is capitalized?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pandamonia/BlocksKit/pull/184/files#r8011548>
> .
>



-- 
陈育龙  移动端负责人, ELEME Inc.
Email:andy.chen@ele.me   | Mobile: 86+159-2154-3125
http://ele.me  饿了么？