1 2 3 4 5 6 7 8 9 10 11
- (void) unobserveAllKeyPaths { @synchronized (self) { } } #if 1 #define SYNCHRONIZED_BEGIN(x) @synchronized (x) { #define SYNCHRONIZED_END } #else #define SYNCHRONIZED_BEGIN(x) #define SYNCHRONIZED_END #endif