Use public NSMethodSignature API
authorWincent Colaiuta <win@wincent.com>
Tue, 30 Oct 2007 20:46:24 +0000 (21:46 +0100)
committerWincent Colaiuta <win@wincent.com>
Tue, 30 Oct 2007 20:46:24 +0000 (21:46 +0100)
Use formerly private API, now exposed in Leopard.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
WOProtocolStub.m

index 59a388d65e6472fca87392c4e803a4a3fff0ed76..08a0eb1580782387d646305257476c53d7383b16 100644 (file)
@@ -29,7 +29,6 @@
 // framework headers
 
 #import "NSInvocation+WOTest.h"
-#import "NSMethodSignature+WOTest.h"
 #import "NSObject+WOTest.h"
 #import "WOProtocolMock.h"  /* for WOStringFromProtocol() */
 
@@ -74,7 +73,7 @@
     if (description.name == NULL)
         [NSException raise:NSInternalInconsistencyException format:@"No method signature for selector %@ in %@ protocol",
             NSStringFromSelector(aSelector), WOStringFromProtocol(protocol)];
-    return [NSMethodSignature WOTest_signatureBasedOnObjCTypes:description.types];
+    return [NSMethodSignature signatureWithObjCTypes:description.types];
 }
 
 #pragma mark -