No. Every where you can provide an instance, you should be able to
provide a Class to.
For example, it's perfectly legal to register a Class as a
notification observer (and use a Class method as target).
It also perfectly legal to register a Class as a delegate and
implements Class method instead of instance methods to handle
message.
Hmmh - but what exactly do you expect the class method
endodeWithCoder: to do?
It's a class method, so it can't encode an instance.
Do you really want to encode the class object itself?
I'm not the one who want to encode classes. I just says this method
should be called.
The original poster (A.M.) probably want to encode a structure that
contains Class (like an array of Class or something like this).
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com