• 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: Question Re Memory Management in Apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question Re Memory Management in Apps


  • Subject: Re: Question Re Memory Management in Apps
  • From: David Duncan <email@hidden>
  • Date: Tue, 9 Mar 2010 12:22:57 -0800

On Mar 9, 2010, at 11:47 AM, Philippe Sismondi wrote:

> However, unless I am still mistaken, by "deallocated at any time" you mean outside the scope of my init method. That is, I suppose I could have used the autoreleased object within the scope of my init method without it being deallocated out from under me. But since I expect an instance variable to be valid after init returns, I had better retain it.
>
> Is that right?


Yes, this is what I meant.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

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

References: 
 >Question Re Memory Management in Apps (From: Philippe Sismondi <email@hidden>)
 >Re: Question Re Memory Management in Apps (From: David Duncan <email@hidden>)
 >Re: Question Re Memory Management in Apps (From: Philippe Sismondi <email@hidden>)

  • Prev by Date: Re: UIImageView animationImages problem
  • Next by Date: How to get NSPathControl to resize programatically?
  • Previous by thread: Re: Question Re Memory Management in Apps
  • Next by thread: Re: Question Re Memory Management in Apps
  • Index(es):
    • Date
    • Thread