• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: collection memory management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >collection memory management (From: James Stroud <email@hidden>)

  • Prev by Date: collection memory management
  • Next by Date: RE: Is it possible to make Dock Icon Jump ??
  • Previous by thread: collection memory management
  • Next by thread: performClose for carbon window?
  • Index(es):
    • Date
    • Thread