• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: define class variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >define class variable (From: "Chong Hiu Pun" <email@hidden>)

  • Prev by Date: Foreign language scripts with NSTextInput.
  • Next by Date: 1 Premier Hardware discount available
  • Previous by thread: Re: define class variable
  • Next by thread: init function return value
  • Index(es):
    • Date
    • Thread