Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of source.xing.com:stefan-munz/KIF

  • Loading branch information...
commit 0d27bc90d6cf18af397d38f4890d35c2fce0a534 2 parents 6e26d96 + b064399
Stefan Munz authored
4 Additions/UIApplication-KIFAdditions.m
@@ -29,8 +29,8 @@ - (UIAccessibilityElement *)accessibilityElementWithLabel:(NSString *)label trai
29 29
30 30 - (UIAccessibilityElement *)accessibilityElementWithLabel:(NSString *)label accessibilityValue:(NSString *)value traits:(UIAccessibilityTraits)traits;
31 31 {
32   - // go through the array of windows in reverse orde to process the frontmost window first.
33   - // when several elements with the same accessibilitylabel are present the one in front will be picked
  32 + // Go through the array of windows in reverse order to process the frontmost window first.
  33 + // When several elements with the same accessibilitylabel are present the one in front will be picked.
34 34 for (UIWindow *window in [[self windows] reverseObjectEnumerator]) {
35 35 UIAccessibilityElement *element = [window accessibilityElementWithLabel:label accessibilityValue:value traits:traits];
36 36 if (element) {
3  Classes/KIFTestStep.m
@@ -620,8 +620,9 @@ + (BOOL)_isUserInteractionEnabledForView:(UIView *)view;
620 620 isUserInteractionEnabled = YES;
621 621 }
622 622 }
  623 +
623 624 // UIActionsheet Buttons have UIButtonLabels with userInteractionEnabled=NO inside,
624   - // grab the superview UINavigationButton instead
  625 + // grab the superview UINavigationButton instead.
625 626 if (!isUserInteractionEnabled && [view isKindOfClass:NSClassFromString(@"UIButtonLabel")]) {
626 627 UIView *button = [view superview];
627 628 while (button && ![button isKindOfClass:NSClassFromString(@"UINavigationButton")]) {

0 comments on commit 0d27bc9

Please sign in to comment.
Something went wrong with that request. Please try again.