Adds cocoapods for libraries.

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

View File

@@ -0,0 +1,32 @@
// OCHamcrest by Jon Reid, https://qualitycoding.org/
// Copyright 2019 hamcrest.org. See LICENSE.txt
#import "HCIsNil.h"
#import "HCIsNot.h"
@implementation HCIsNil
- (BOOL)matches:(nullable id)item
{
return item == nil;
}
- (void)describeTo:(id <HCDescription>)description
{
[description appendText:@"nil"];
}
@end
id HC_nilValue()
{
return [[HCIsNil alloc] init];
}
id HC_notNilValue()
{
return HC_isNot([[HCIsNil alloc] init]);
}