Re: collection memory management
Re: collection memory management
- Subject: Re: collection memory management
- From: j o a r <email@hidden>
- Date: Tue, 8 Jun 2004 09:40:48 +0200
On 2004-06-08, at 09.30, James Stroud wrote:
>
I think this is a simple question:
>
>
What are the rules for memory management for collections for methods
>
like arrayWithArray, or arrayWithObjects? How deep do "retain" calls
>
go?
Are you asking what will happen to the objects contained in a
collection, if that collection is added to another collection? If that
is the question, the answer is that a collection will only retain the
object that is being added to the collection, no recursion is taking
place.
j o a r
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.