• 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
Do I need to release static "class" variables?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Do I need to release static "class" variables?


  • Subject: Do I need to release static "class" variables?
  • From: Eric <email@hidden>
  • Date: Mon, 15 May 2006 20:13:28 -0700

I know how to declare class variable (as static variable inside the .m
file), however, I'm not sure whether I should (or how) to deallocate class
variable.  Please advice.

Also, if my class variable is not initialized at declaration, should I
initialize them in the +initialize: method?

Thanks,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Do I need to release static "class" variables?
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: custom NSTextView
  • Next by Date: What's so special about NSString literals? (RE: memory management)
  • Previous by thread: Re: incompatible pointer type warning, but everything OK?
  • Next by thread: Re: Do I need to release static "class" variables?
  • Index(es):
    • Date
    • Thread