NSStringFromClass also has the advantage that it works for all classes
– not just those that inherit from NSObject. So if I remember
correctly, doing NSStringFromClass on something that is a proxy will
return NSProxy, while className will give you whatever the proxy is
proxying.

Advertisements