KushalP/ocmock — comment on commit 97ab5a8361b88299f44302c413b7560e26442443
File:  line 0
By erikdoe:

The changes in the NSInvocation category make sense. I don't understand the other changes, though.

On which platform is "isKindOfClass:" deprecated? I can't seem to find this information, not in the Apple reference documentation nor in the header files that I use in the 10.6 SDK.

On which platform does "name" return an object? Without changing the implementation the following test passes for me:

- (void)testSetsCorrectNameForProtocolMockObjects
{
mock = [OCMockObject mockForProtocol:@protocol(NSLocking)];
STAssertEqualObjects(@"OCMockObject[NSLocking]", [mock description], @"Should have returned correct description.");
}

This would indicate that "name" still returns a C-string, or whatever they are called these days.