Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Remove -[NSArray tui_map:], which is no longer used (and we have bloc…
Browse files Browse the repository at this point in the history
…ks now, if we want to do it properly)
  • Loading branch information
jspahrsummers committed Nov 13, 2011
1 parent 39a48b3 commit dba3430
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions lib/UIKit/TUIView.m
Original file line number Diff line number Diff line change
Expand Up @@ -457,22 +457,6 @@ - (void)sizeToFit

@end

@interface NSArray (TUIViewAdditions)
@end
@implementation NSArray (TUIViewAdditions)

- (NSArray *)tui_map:(SEL)s
{
NSMutableArray *array = [NSMutableArray arrayWithCapacity:[self count]];
for(id obj in self) {
id o = [obj performSelector:s];
if(o)
[array addObject:o];
}
return [NSArray arrayWithArray:array];
}
@end

@implementation TUIView (TUIViewHierarchy)
// use the accessor from the main implementation block
@dynamic subviews;
Expand Down

0 comments on commit dba3430

Please sign in to comment.