Re: static class variable
Re: static class variable
- Subject: Re: static class variable
- From: Ondra Cada <email@hidden>
- Date: Thu, 18 Jul 2002 15:44:33 +0200
On Thursday, July 18, 2002, at 03:12 , zauhar wrote:
Bill, the static declarations need to be outside (before) the '@interface'
declaration. That worked fine for me.
Wrong. That way, you get an extra variable in each module which imports
the header, and I am pretty sure that is not what you wanted.
The correct placement is in the appropriate .m file. They can be inside or
outside @implementation -- the compiler does not care.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.