Index: src/OFObject.h ================================================================== --- src/OFObject.h +++ src/OFObject.h @@ -587,21 +587,21 @@ * This method is called if a class method was not found, so that an * implementation can be provided at runtime. * * @return Whether the method has been added to the class */ -+ (bool)resolveClassMethod: (SEL)selector; ++ (BOOL)resolveClassMethod: (SEL)selector; /*! * @brief Try to resolve the specified instance method. * * This method is called if an instance method was not found, so that an * implementation can be provided at runtime. * * @return Whether the method has been added to the class */ -+ (bool)resolveInstanceMethod: (SEL)selector; ++ (BOOL)resolveInstanceMethod: (SEL)selector; /*! * @brief Returns the class. * * This method exists so that classes can be used in collections requiring Index: src/OFObject.m ================================================================== --- src/OFObject.m +++ src/OFObject.m @@ -473,18 +473,18 @@ #endif [self inheritMethodsFromClass: [class superclass]]; } -+ (bool)resolveClassMethod: (SEL)selector ++ (BOOL)resolveClassMethod: (SEL)selector { - return false; + return NO; } -+ (bool)resolveInstanceMethod: (SEL)selector ++ (BOOL)resolveInstanceMethod: (SEL)selector { - return false; + return NO; } - init { return self; Index: tests/ForwardingTests.m ================================================================== --- tests/ForwardingTests.m +++ tests/ForwardingTests.m @@ -66,36 +66,36 @@ { success = true; } @implementation ForwardingTest -+ (bool)resolveClassMethod: (SEL)selector ++ (BOOL)resolveClassMethod: (SEL)selector { forwardings++; if (sel_isEqual(selector, @selector(test))) { [self replaceClassMethod: @selector(test) withImplementation: (IMP)test typeEncoding: "v#:"]; - return true; + return YES; } - return false; + return NO; } -+ (bool)resolveInstanceMethod: (SEL)selector ++ (BOOL)resolveInstanceMethod: (SEL)selector { forwardings++; if (sel_isEqual(selector, @selector(test))) { [self replaceInstanceMethod: @selector(test) withImplementation: (IMP)test typeEncoding: "v@:"]; - return true; + return YES; } - return false; + return NO; } - (id)forwardingTargetForSelector: (SEL)selector { /*