diff options
-rw-r--r-- | AppKit/GTMUILocalizerTest.m | 2 | ||||
-rw-r--r-- | AppKit/GTMWindowSheetController.m | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/AppKit/GTMUILocalizerTest.m b/AppKit/GTMUILocalizerTest.m index 451bd83..b12d977 100644 --- a/AppKit/GTMUILocalizerTest.m +++ b/AppKit/GTMUILocalizerTest.m @@ -36,7 +36,7 @@ NSDictionary *bindingOptions = [bindingInfo objectForKey:NSOptionsKey]; XCTAssertNotNil(bindingOptions); NSString *key = nil; - GTM_FOREACH_KEY(key, bindingOptions) { + for(key in bindingOptions) { id value = [bindingOptions objectForKey:key]; if ([value isKindOfClass:[NSString class]]) { XCTAssertFalse([value hasPrefix:@"^"], diff --git a/AppKit/GTMWindowSheetController.m b/AppKit/GTMWindowSheetController.m index 8e2d13c..37077a1 100644 --- a/AppKit/GTMWindowSheetController.m +++ b/AppKit/GTMWindowSheetController.m @@ -186,7 +186,7 @@ willPositionSheet:(NSWindow*)sheet - (NSArray*)viewsWithAttachedSheets { NSMutableArray* views = [NSMutableArray array]; NSValue* key; - GTM_FOREACH_KEY(key, sheets_) { + for (key in sheets_) { [views addObject:[key nonretainedObjectValue]]; } @@ -570,7 +570,7 @@ willPositionSheet:(NSWindow*)sheet - (void)systemRequestsVisibilityForWindow:(NSWindow*)window { NSValue* key; - GTM_FOREACH_KEY(key, sheets_) { + for (key in sheets_) { GTMWSCSheetInfo* sheetInfo = [sheets_ objectForKey:key]; if (sheetInfo->overlayWindow_ == window) { NSView* view = [key nonretainedObjectValue]; |