Sha256: b8c7616a211da27725964d2f65fb42d486cb53a26a292d2fec5764940292514d

Contents?: true

Size: 597 Bytes

Versions: 8

Compression:

Stored size: 597 Bytes

Contents

#import "NSValue+Expecta.h"
#import <objc/runtime.h>
#import "Expecta.h"

EXPFixCategoriesBug(NSValue_Expecta);

@implementation NSValue (Expecta)

static char _EXP_typeKey;

- (const char *)_EXP_objCType {
  return [(NSString *)objc_getAssociatedObject(self, &_EXP_typeKey) cStringUsingEncoding:NSASCIIStringEncoding];
}

- (void)set_EXP_objCType:(const char *)_EXP_objCType {
  objc_setAssociatedObject(self, &_EXP_typeKey,
                           [NSString stringWithCString:_EXP_objCType encoding:NSASCIIStringEncoding],
                           OBJC_ASSOCIATION_COPY_NONATOMIC);
}

@end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
second_curtain-0.6.0 Demo/Pods/Expecta/src/NSValue+Expecta.m
second_curtain-0.5.0 Demo/Pods/Expecta/src/NSValue+Expecta.m
second_curtain-0.4.0 Demo/Pods/Expecta/src/NSValue+Expecta.m
second_curtain-0.3.0 Demo/Pods/Expecta/src/NSValue+Expecta.m
cocoapods-deintegrate-0.2.1 spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSValue+Expecta.m
cocoapods-deintegrate-0.2.0 spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSValue+Expecta.m
second_curtain-0.2.4 Demo/Pods/Expecta/src/NSValue+Expecta.m
second_curtain-0.2.3 Demo/Pods/Expecta/src/NSValue+Expecta.m