aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMLightweightProxy.m
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation/GTMLightweightProxy.m')
-rw-r--r--Foundation/GTMLightweightProxy.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Foundation/GTMLightweightProxy.m b/Foundation/GTMLightweightProxy.m
index c00e44b..643478a 100644
--- a/Foundation/GTMLightweightProxy.m
+++ b/Foundation/GTMLightweightProxy.m
@@ -27,6 +27,10 @@
return self;
}
+- (id)init {
+ return [self initWithRepresentedObject:nil];
+}
+
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
#if GTM_SUPPORT_GC
// -[NSProxy finalize] is only in 10.5 or later