diff options
author | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-02-03 17:09:43 +0000 |
---|---|---|
committer | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-02-03 17:09:43 +0000 |
commit | 74ad2857a75567b273951be9cbe998133fbca26a (patch) | |
tree | 9aedbec980fc19be9f3eecf7acd0dfaa9f7c8067 /Foundation/GTMObjC2Runtime.h | |
parent | 2ae297214778005d95354f207753180edca51ec4 (diff) |
- Added GTMNSObject+KeyValueObserving to make it easier on folks to do KVO
"correctly". Based on some excellent code by Michael Ash.
http://www.mikeash.com/?page=pyblog/key-value-observing-done-right.html
This has been added for iPhone and OS X.
- Fixed up GTMSenTestCase on iPhone so that it has a description that matches
that of OCUnit.
Diffstat (limited to 'Foundation/GTMObjC2Runtime.h')
-rw-r--r-- | Foundation/GTMObjC2Runtime.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Foundation/GTMObjC2Runtime.h b/Foundation/GTMObjC2Runtime.h index 8d62abf..2c25841 100644 --- a/Foundation/GTMObjC2Runtime.h +++ b/Foundation/GTMObjC2Runtime.h @@ -47,9 +47,10 @@ #import <objc/Object.h> #endif +#import <libkern/OSAtomic.h> + #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5 #import "objc/Protocol.h" -#import <libkern/OSAtomic.h> OBJC_EXPORT Class object_getClass(id obj); OBJC_EXPORT const char *class_getName(Class cls); |