Adds cocoapods for libraries.

Adds OCMockito and OCHamcrest libs.
This commit is contained in:
2020-09-05 22:06:51 -07:00
parent f688898d96
commit bab5a55c3b
364 changed files with 17147 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
// OCHamcrest by Jon Reid, https://qualitycoding.org/
// Copyright 2019 hamcrest.org. See LICENSE.txt
#import "HCIsInstanceOf.h"
@implementation HCIsInstanceOf
- (BOOL)matches:(nullable id)item
{
return [item isKindOfClass:self.theClass];
}
- (NSString *)expectation
{
return @"an instance of ";
}
@end
id HC_instanceOf(Class expectedClass)
{
return [[HCIsInstanceOf alloc] initWithClass:expectedClass];
}