|
From: | Bill Northcott |
Subject: | Re: [Swarm-Support] Array release |
Date: | Wed, 18 Aug 2004 09:43:32 +1000 |
Cocoa uses alloc and init to set up new objects and release to destroy them, whereas Swarm uses createBegin and createEnd to set up and drop to destroy. It is like French and English both use the Roman alphabet, sentences ending in periods etc, but they are different languages.
For information, please read the Swarm User and Reference Manuals. The only relevant Apple documentation is the Objective-C language Manual and the development tools like gcc, ld etc. Documentation on Cocoa, coreFoundation etc will only confuse you.
Bill Northcott On 18/08/2004, at 5:17 AM, <address@hidden> wrote: I'm having memory leaks problems, and I suspect the come from
my usage of Array collection. looking in some docs ( http://developer.apple.com/documentation/Cocoa/Conceptual/ Collections/index.html, http://www.delorie.com/gnu/docs/libobjects/libobjects_14.html), I've found some messages that are not working (removeLastObject, removeObjectAtIndex, freeObjects, empty, free). Could somebody tell me how to release an Array and It's contents. Thanks in Advance, - Carolina _______________________________________________ Support mailing list address@hidden http://www.swarm.org/mailman/listinfo/support
[Prev in Thread] | Current Thread | [Next in Thread] |