• 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: Stacks & Memory Management.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stacks & Memory Management.


  • Subject: Re: Stacks & Memory Management.
  • From: Robert Marini <email@hidden>
  • Date: Sun, 21 Dec 2008 12:32:21 -0500

Do not look at the retain counts. Down that path lies madness. Frankly, -retainCount should be removed (or, better, modified to just return rand()).

b.bum

Wiser words were never spoken (I actually presented a rather contrived piece of code at a local iphone meetup to demonstrate why ever using - retainCount is a Bad Thing™).


-rob.

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

_______________________________________________

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: Stacks & Memory Management.
      • From: Alex Kac <email@hidden>
References: 
 >Re: Cocoa-dev Digest, Vol 5, Issue 2186 (From: Steve Wetzel <email@hidden>)
 >Stacks & Memory Management. (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: Re: Memory Management Q. 1 and 2
  • Previous by thread: Stacks & Memory Management.
  • Next by thread: Re: Stacks & Memory Management.
  • Index(es):
    • Date
    • Thread