• 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: [Newbie Q] Memory Management in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie Q] Memory Management in Cocoa


  • Subject: Re: [Newbie Q] Memory Management in Cocoa
  • From: Sherm Pendley <email@hidden>
  • Date: Tue, 5 Nov 2002 16:17:17 -0500

On Tuesday, November 5, 2002, at 02:21 PM, Bill Cheeseman wrote:

(2) you own an object that you introduced into your application
by calling alloc, allocWithZone:, copy, or copyWithZone: yourself (I'm
leaving something out here; what is it?).

retain

Although, I don't think of objects that have been retained as being "owned" by my code. The owner is whatever code allocated or copied the object. My code is just renting the object for a while - with an option to buy if the owner decides to release it. ;-)

sherm--

If you listen to a UNIX shell, can you hear the C?
_______________________________________________
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.

  • Follow-Ups:
    • Re: [Newbie Q] Memory Management in Cocoa
      • From: Ondra Cada <email@hidden>
References: 
 >Re: [Newbie Q] Memory Management in Cocoa (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: NSTextView Background Color
  • Next by Date: Cocoa equivalent to Javadoc?
  • Previous by thread: Re: [Newbie Q] Memory Management in Cocoa
  • Next by thread: Re: [Newbie Q] Memory Management in Cocoa
  • Index(es):
    • Date
    • Thread