define class variable
define class variable
- Subject: define class variable
- From: "Chong Hiu Pun" <email@hidden>
- Date: Thu, 1 Aug 2002 17:35:59 +0800
How to define class variable which can be access by class method ( e.g
+(NSString*)GetResult; )
Thanks.
ps: I defined under
@interface my_class_name : NSObject
{
....
NSString strResult; //define here, but receive compiler warning
...
}
_______________________________________________
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.