• 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: autorelease use...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autorelease use...


  • Subject: Re: autorelease use...
  • From: j o a r <email@hidden>
  • Date: Mon, 18 Jul 2005 16:55:31 +0200


On 18 jul 2005, at 16.33, Luc Vandal wrote:

Thanks! So I can play it safe and use autorelease everywhere I don't want to retain a variable's content?

No, you should use autorelease where it makes sense - and you have to spend whatever time you need to learn what it is that makes sense! Memory management is important for programmers, and you need to learning about how it works in Cocoa / ObjC. It's not that difficult, just a handful of methods and concepts, and there is a lot of good documentation available, both from Apple and from third parties.


My point is that you shouldn't expect to get away with finding some really easy rule from this thread, and then be able to forget about learning the rest / all of it. This is one of the things that you should try to get to know better than that!

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: autorelease use...
      • From: j o a r <email@hidden>
References: 
 >autorelease use... (From: Luc Vandal <email@hidden>)
 >Re: autorelease use... (From: "Tristan O'Tierney" <email@hidden>)
 >Re: autorelease use... (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: Binding not updating
  • Next by Date: Re: Binding not updating
  • Previous by thread: Re: autorelease use...
  • Next by thread: Re: autorelease use...
  • Index(es):
    • Date
    • Thread