Re: Stacks & Memory Management.
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