diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-08-11 18:30:29 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-08-11 18:30:29 +0000 |
commit | 1ddb352f1d7621deeb93848dedf034dc5d271a1f (patch) | |
tree | 0e3c060f447f687396ac3bb416cf02ae3b671f42 /Foundation/GTMNSObject+KeyValueObservingTest.m | |
parent | a4a6a27c10d9d78034c759678be0ebf95ff3d76c (diff) |
[Author: dmaclach]
Fixed up GTMGoogleSearch so that it actually works on the iPhone Device.
Fixed up some GTMNSObject+KVO issues on the iPhone Device.
Fixed up GTMObjC2Runtime so that it actually compiles on the device.
Added debugging capabilities to KVO with GTM.
Removed unnecessary GTM_* system version macros from GTMDefines.h
R=thomasvl
DELTA=185 (153 added, 19 deleted, 13 changed)
Diffstat (limited to 'Foundation/GTMNSObject+KeyValueObservingTest.m')
-rw-r--r-- | Foundation/GTMNSObject+KeyValueObservingTest.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Foundation/GTMNSObject+KeyValueObservingTest.m b/Foundation/GTMNSObject+KeyValueObservingTest.m index b97f7ff..ec35bc3 100644 --- a/Foundation/GTMNSObject+KeyValueObservingTest.m +++ b/Foundation/GTMNSObject+KeyValueObservingTest.m @@ -87,6 +87,9 @@ selector:@selector(observeValueChange:) userInfo:@"userInfo" options:NSKeyValueObservingOptionNew]; + [dict_ gtm_removeObserver:self + forKeyPath:@"key" + selector:@selector(observeValueChange:)]; } - (void)observeValueChange:(GTMKeyValueChangeNotification *)notification { |