Re: NSLog(@"%@",[NSProxy class]);
Re: NSLog(@"%@",[NSProxy class]);
- Subject: Re: NSLog(@"%@",[NSProxy class]);
- From: Agent M <email@hidden>
- Date: Sat, 11 Mar 2006 22:59:25 -0500
How do you figure that NSProxy is broken?
It is documented to implement exactly 4 class methods (and being a
root class inherits nothing more) - and "+ description" is not one of
them (like it is for NSObject).
It implements exactly what it says it does - just because it doesn't
work like NSObject doesn't mean it's broken...
Even if you do implement +description, it doesn't fix the exception.
Try it. Instead you have to implement a private method in a category.
What is really going on is that NSProxy's meta-class is in fact a weird
NSProxy instead of an NSObject which I haven't been able to think of a
rational explanation for. If you can think of one, please let us know-
perhaps strict NSObject/NSProxy separation was the idea, but an NSProxy
is useless without something to proxy...
-M
¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬
AgentM
email@hidden
¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden