Adam Fedor wrote:

On Friday, January 17, 2003, at 09:16 AM, Adam Fedor wrote:


(2) Objective-C code should never be used in a +load method. A lot of basic Objective-C/Foundation code is not setup when the +load messages are sent (like NSString). Trying to send messages in +load can potentially cause a nightmare of recursive initialization.

Actually, more important, you can't even guarantee that all you classes have been loaded into the runtime when a +load message is sent.

Exactly that was my problem :-) GSPlaceholderString wasn't loaded.

Cheers,
Dave





_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to