• 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: Simple newbie problem: Static variables in Objective-C?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple newbie problem: Static variables in Objective-C?


  • Subject: Re: Simple newbie problem: Static variables in Objective-C?
  • From: Marcel Weiher <email@hidden>
  • Date: Fri, 22 Mar 2002 21:25:34 +0100

On Friday, March 22, 2002, at 07:36 PM, Andrew Baldwin wrote:

I know that it is possible to have static class variables in Objective-C,

It isn't. What is a "static class variable", anyway? ;-)

Objective-C supports plain C static variables (global lifetime, but file scope).

Objective-C doesn't have class variables, which is what I think you might be refering to. Smalltalk has them, but they never made it into Objective-C.

Marcel

--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
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: 
 >Simple newbie problem: Static variables in Objective-C? (From: Andrew Baldwin <email@hidden>)

  • Prev by Date: Re: NSPoint Documentation
  • Next by Date: Re: NSPoint Documentation
  • Previous by thread: Re: Simple newbie problem: Static variables in Objective-C?
  • Next by thread: NSPoint Documentation
  • Index(es):
    • Date
    • Thread