Index: src/OFIterator.h ================================================================== --- src/OFIterator.h +++ src/OFIterator.h @@ -51,7 +51,7 @@ @interface OFDictionary (OFIterator) /** * \return An OFIterator for the OFDictionary */ -- (OFIterator*)getIterator; +- (OFIterator*)iterator; @end Index: src/OFIterator.m ================================================================== --- src/OFIterator.m +++ src/OFIterator.m @@ -55,11 +55,11 @@ return self; } @end @implementation OFDictionary (OFIterator) -- (OFIterator*)getIterator +- (OFIterator*)iterator { return [[[OFIterator alloc] initWithData: data andSize: size] autorelease]; } @end Index: tests/OFDictionary/OFDictionary.m ================================================================== --- tests/OFDictionary/OFDictionary.m +++ tests/OFDictionary/OFDictionary.m @@ -25,11 +25,11 @@ main() { BOOL caught; OFDictionary *dict = [OFDictionary dictionaryWithHashSize: 16]; - OFIterator *iter = [dict getIterator]; + OFIterator *iter = [dict iterator]; OFAutoreleasePool *pool = [OFAutoreleasePool new]; OFString *key1 = [OFString stringWithCString: "key1"]; OFString *key2 = [OFString stringWithCString: "key2"]; OFString *value1 = [OFString stringWithCString: "value1"];