On Oct 21, 2009, at 6:41 PM, Tharindu Madushanka wrote:

I have created a class with only class methods in it and a single static instance variable allocated only one with a class method. Do I need to add a
-(void) dealloc: method to this class. Could someone kindly explain.

No. You only need to implement -dealloc if you create instances of a class that retain certain objects or register as observers of something. If you create a class method-only class, then there will be no instances of that class, so there's nothing to deallocate.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to