@@ -14,10 +14,11 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "NSOFDictionary.h" +#import "NSOFEnumerator.h" #import "OFDictionary.h" #import "NSBridging.h" #import "OFBridging.h" @@ -61,6 +62,12 @@ if (count > NSUIntegerMax) @throw [OFOutOfRangeException exception]; return (NSUInteger)count; } + +- (NSEnumerator *)keyEnumerator +{ + return [[[NSOFEnumerator alloc] + initWithOFEnumerator: [_dictionary keyEnumerator]] autorelease]; +} @end