Re: observing dealloc
Re: observing dealloc
- Subject: Re: observing dealloc
- From: Ken Tozier <email@hidden>
- Date: Mon, 28 May 2007 19:49:57 -0400
On May 28, 2007, at 7:44 PM, Steve Israelson wrote:
What is wrong with having static variables in your class
implementation file?
Then use class methods to access em, and put any threading stuff in
there too.
You can even have a global to count how many object of your class
are created.
That's exactly what this does only in a standardized way. Maybe the
word "global" is confusing the issue. Perhaps I should have used
"static variable."
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden