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