• 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: Static variable in Obj-C way?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static variable in Obj-C way?


  • Subject: Re: Static variable in Obj-C way?
  • From: Enrique Zamudio <email@hidden>
  • Date: Mon, 11 Jun 2001 14:29:24 -0500

You can write a class that has the static variables that you need
implemented as instance variables, and write a class method to return
a shared instance, and then you can read/write to the ivars using
accessor methods.

eZL


  • Prev by Date: Re: NSTextField & sizeToFit
  • Next by Date: Re: NSSavePanel with a Sheet, strange callBack definition
  • Previous by thread: Re: Static variable in Obj-C way?
  • Next by thread: Hiliting an NSToolbarItem (the "Current" selection)?
  • Index(es):
    • Date
    • Thread