discuss-gnustep
[Top][All Lists]
Advanced

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

Re: +(void)initialize


From: David Ayers
Subject: Re: +(void)initialize
Date: Fri, 19 Jul 2002 10:36:05 +0200

>I think you gave us a reason to keep GNUstep's +initialize methods as they
>are now,
>
>@implementation NSNicola
>
>+ (void) initialize
>{
>  if (self == [NSNicola class])
>    {
>      /* Real code here.  */
>    }
>}
>
>@end
>
>since that makes sure the code will work in the same way on GNU and NeXT
>runtimes.

That reminds me! Check ProjectCenter's ./PCLib/PCEditorView+Highlighting.m, I 
had seen a [super initialize] in that implemtation, but forgot to report it.

Cheers,
Dave

reply via email to

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