Permalink
Browse files

Style fixes for main KIF pull request.

  • Loading branch information...
1 parent 1daa727 commit 580d667a1960c2443adcf50bbd7e562bdc2f5123 @kennbrodhagen committed Oct 3, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Additions/UIView-KIFAdditions.m
@@ -174,11 +174,11 @@ - (UIView *)subviewWithClassNamePrefix:(NSString *)prefix;
return [subviews objectAtIndex:0];
}
-// Breadth-first population of subviews matching
- (NSArray *)subviewsWithClassNamePrefix:(NSString *)prefix;
{
NSMutableArray *result = [NSMutableArray array];
+ // Breadth-first population of matching subviews
// First travers the next level of subviews, adding matches.
for (UIView *view in self.subviews) {
if ([NSStringFromClass([view class]) hasPrefix:prefix]) {
@@ -205,11 +205,11 @@ - (UIView *)subviewWithClassNameOrSuperClassNamePrefix:(NSString *)prefix;
return [subviews objectAtIndex:0];
}
-// Breadth-first population of subviews matching
- (NSArray *)subviewsWithClassNameOrSuperClassNamePrefix:(NSString *)prefix;
{
NSMutableArray * result = [NSMutableArray array];
+ // Breadth-first population of matching subviews
// First traverse the next level of subviews, adding matches
for (UIView *view in self.subviews) {
Class klass = [view class];

0 comments on commit 580d667

Please sign in to comment.