[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: NSObject className
From: |
Mondragon, Ian |
Subject: |
RE: NSObject className |
Date: |
Fri, 07 Jun 2002 17:21:26 -0500 |
you can't call self from a factory method! :-)
> -----Original Message-----
> From: Stefan Urbanek [SMTP:urbanek@host.sk]
> Sent: Friday, June 07, 2002 8:10 AM
> To: discuss-gnustep@gnu.org
> Subject: NSObject className
>
> This method is missing in NSObject:
>
> - (NSString *) className
> {
> return NSStringFromClass([self class]);
> }
>
> I am not sure, if this is correct, but i think this also should be there:
>
> + (NSString *) className
> {
> return NSStringFromClass([self class]);
> }
>
> Stefan
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/discuss-gnustep