Adding a category to NSProxy that fixes a bug so as to allow NSProxies to be
[ITFoundation.git] / ITCategory-NSProxy.h
diff --git a/ITCategory-NSProxy.h b/ITCategory-NSProxy.h
new file mode 100644 (file)
index 0000000..6848d14
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *     ITFoundation
+ *     ITCategory-NSProxy.h
+ *
+ *     This is actually a bug fix, as _copyDescription is required by NSLog when
+ *             you supply an object other than a string as a parameter for building a
+ *             string, and yet NSProxy does not implement or proxy it.
+ *
+ *     Copyright (c) 2005 by iThink Software.
+ *     All Rights Reserved.
+ *
+ *     $Id$
+ *
+ */
+
+#import <Cocoa/Cocoa.h>
+
+@interface NSProxy (ITCategory)
+
+- (NSString *)_copyDescription;
+
+@end