• 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: resetting ivars safely
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: resetting ivars safely


  • Subject: Re: resetting ivars safely
  • From: Daniel Child <email@hidden>
  • Date: Thu, 13 Sep 2007 13:07:39 -0400

Thanks for the suggestion. I did. It is helpful on accessors and the basic notion of ownership. ("X created or copied it so X needs to release it.") But I don't find that documentation terribly clear on some of the scenarios I have been dealing with. My two main scenarios requiring attention to memory have been

- reinitializing or resetting instance variables
- adding objects to a collection, which itself is an instance variable

There must be better articles out there.....

On Sep 13, 2007, at 12:41 PM, Charles Steinman wrote:

You should read the Cocoa memory management
documentation.

http://developer.apple.com/documentation/Cocoa/Conceptual/ MemoryMgmt/Concepts/ObjectOwnership.html#//apple_ref/doc/uid/ 20000043-BEHDEDDB

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: resetting ivars safely
      • From: Charles Steinman <email@hidden>
    • Re: resetting ivars safely
      • From: "Shawn Erickson" <email@hidden>
References: 
 >Re: resetting ivars safely (From: Charles Steinman <email@hidden>)

  • Prev by Date: Re: Incremental Development?
  • Next by Date: Parallel instances of Cocoa apps?
  • Previous by thread: Re: resetting ivars safely
  • Next by thread: Re: resetting ivars safely
  • Index(es):
    • Date
    • Thread