Objective-C equivalent of a destructor?

2005-10-05 Thread percy tiglao
Basically, I know init does the initialization code (and new is basically alloc and then init) But is there any cleanup code? Specifically, I'd like to still use retain-release but still have a destructor. Is there any method that release calls when the reference count reaches 0 ?

Quick question on NSMutableArray

2005-10-05 Thread percy tiglao
Quick question: Is NSMutableArray a linked list? And if it isn't, then what collection class is a linked list? I am trying to implement an input-restricted dequeue, so just addObject and removeLastObject won't work (basically, need to be able to be able to remove from both ends of the deque, but

GNUstep Makefiles (resource specific)

2005-10-05 Thread percy tiglao
Is there any tutorial on how to use the RESOURCE_FILES options in GNUstep makefiles? If not, could someone tell me where those parameters go? I'd like to know how to load up image files in SDL Thanks again Percy ___ Discuss-gnustep mailing list

Re: GNUstep base vs libobjc

2005-10-04 Thread percy tiglao
On 9/21/05, Adrian Robert [EMAIL PROTECTED] wrote: On Sep 21, 2005, at 3:55 AM, Sašo Kiselkov wrote: Quoting percy tiglao [EMAIL PROTECTED]: I do not feel like stepping all the way into the NeXT framework, but I'd like to use Objc as a development language (I'm going to be building