Re: define class variable
Re: define class variable
- Subject: Re: define class variable
- From: Angela Brett <email@hidden>
- Date: Fri, 2 Aug 2002 09:49:24 +1200
ps: I defined under
@interface my_class_name : NSObject
{
....
NSString strResult; //define here, but receive compiler warning
...
}
What j o a r said was correct if you want a variable which can be
accessed by a class method, but another reason you got a compiler
warning is that it should be NSString *strResult, not NSString
strResult.
--
Angela Brett
Email: email@hidden
Homepage:
http://acronyms.co.nz/angela
_______________________________________________
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.