Skip to content

Commit

Permalink
*fix NSArray method:
Browse files Browse the repository at this point in the history
-(NSUInteger)indexOfObjectPassingTest:(BOOL (^)(id obj, NSUInteger, BOOL *stop))predicate;
  • Loading branch information
Alexey Khokhlov committed Apr 22, 2014
1 parent 00b33ca commit b4ba1de
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/runtime/Classes/PBArray.m
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ - (void)enumerateObjectsUsingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop)
-(NSUInteger)indexOfObjectPassingTest:(BOOL (^)(id obj, NSUInteger, BOOL *stop))predicate
{
if (!predicate) return NSNotFound;
BOOL stop = NO;
__block BOOL bb;
__block NSUInteger index;
[self enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
Expand Down

0 comments on commit b4ba1de

Please sign in to comment.