Re: Getting the name of a class
Re: Getting the name of a class
- Subject: Re: Getting the name of a class
- From: Marc Weil <email@hidden>
- Date: Thu, 14 Aug 2003 11:36:25 -0400
It would be something like this, iirc:
NSStringFromClass([self class]);
- Marc Weil
On 8/14/03 3:21 AM, "John Lombardo" <email@hidden> wrote:
>
I'd like to use the function NSStringFromClass() to obtain the name of the
>
class from which it is being called. Essentially, how can I find out what
>
kind of class 'self' is? I've seen it somewhere before but I couldn9t locate
>
it in any references on hand.
>
>
Cheers,
>
john
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.