discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Checking the super class of a class


From: Andreas Höschler
Subject: Checking the super class of a class
Date: Thu, 6 Oct 2005 17:49:15 +0200

Hi all,

I need something like [something isKindOfClass:...] with something being not an instance but a class created with NSClassFromString(). A probably working but very ugly hack would be to create an instance of this class with [[something alloc] init] and releasing the object after the check. But I am sure there is a better approach. Any idea?

Thanks a lot!

Regards,

  Andreas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]