• 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: Passing Objects In Messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing Objects In Messages


  • Subject: Re: Passing Objects In Messages
  • From: Shawn Erickson <email@hidden>
  • Date: Fri, 17 Oct 2003 18:12:32 -0700

On Friday, October 17, 2003, at 05:58 PM, James Masasaki wrote:

When I pass an object as a parameter in an Objective-C message, how/when do I know it's safe to dispose of this object? Is it a requirement that I receive a response before I dispose the object, or do I just send the message and some garbage collection mechanism cleans up the object for me?

The follow is found on Apple's Cocoa Objective-C Language Documentation page.

http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/ index.html

In particular read over the "object ownership and disposal" link.

-Shawn
_______________________________________________
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: 
 >Passing Objects In Messages (From: James Masasaki <email@hidden>)

  • Prev by Date: Re: Passing Objects In Messages
  • Next by Date: Opening local HTML file in new Safari tab?
  • Previous by thread: Re: Passing Objects In Messages
  • Next by thread: Re: Passing Objects In Messages
  • Index(es):
    • Date
    • Thread