• 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: How can I set instance variables within a class?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I set instance variables within a class?


  • Subject: Re: How can I set instance variables within a class?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 21 Sep 2009 13:37:07 -0700


On Sep 21, 2009, at 12:38 PM, Wayne Bishop wrote:

a technique that will allow me track the state of a class in case of a specific error or failure. In .NET one can create class properties which can be set by the class itself.

Objective-C doesn't have the concept of a class variable. Create a static variable in your .m file instead.


—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How can I set instance variables within a class? (From: Wayne Bishop <email@hidden>)

  • Prev by Date: Re: Using 3.1's documentation window
  • Next by Date: Re: Replacement for CW Re-search for files
  • Previous by thread: Re: How can I set instance variables within a class?
  • Next by thread: Re: Replacement for CW Re-search for files
  • Index(es):
    • Date
    • Thread