discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set value in NSArray


From: James McLoughlin
Subject: Re: How to set value in NSArray
Date: Tue, 13 Jul 2004 11:49:04 -0700

Hi

A quick (naive) question on your destructor...

@implementation MyClass
- (void) dealloc
{
  DESTROY(monthlyRain);
  [super dealloc];
}

Why is the DESTROY function used as opposed to

[monthlyRain dealloc];

?

Is this specific to gnustep, or is it also a convention in openStep / Cocoa?

thanks

Jim M





reply via email to

[Prev in Thread] Current Thread [Next in Thread]