• 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: retain, release, autorelease (was Checkboxes and NSBox titles)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: retain, release, autorelease (was Checkboxes and NSBox titles)


  • Subject: Re: retain, release, autorelease (was Checkboxes and NSBox titles)
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 20 Jun 2001 18:43:15 -0700

On Wednesday, June 20, 2001, at 12:39 pm, jgo wrote:

Could someone provide a snippet that shows or words that explain
how it works with containers/collections.

"Cases which often cause confusion

Arrays and other collection classes

When an object is added to an array, dictionary, or set (etc), the collection retains it. It will be sent a corresponding release message when the collection is itself released. Thus if you want for example to create an array of numbers, you might do either of the following..."

http://www.stepwise.com/Articles/Technical/2001-03-11.01.html

mmalc.


References: 
 >Re: retain, release, autorelease (was Checkboxes and NSBox titles) (From: jgo <email@hidden>)

  • Prev by Date: Re: retain, release, autorelease (was Checkboxes and NSBox titles)
  • Next by Date: Re: Memory Management and DO
  • Previous by thread: Re: retain, release, autorelease (was Checkboxes and NSBox titles)
  • Next by thread: Re: retain, release, autorelease (was Checkboxes and NSBox titles)
  • Index(es):
    • Date
    • Thread