Re: [pool release] error
Re: [pool release] error
- Subject: Re: [pool release] error
- From: Bill Bumgarner <email@hidden>
- Date: Fri, 26 Dec 2008 09:45:16 -0800
On Dec 26, 2008, at 9:41 AM, Steve Wetzel wrote:
How do you know that number with Integer creates an autoreleased
object? I do not see that in the documentation. As also mentioned
in a reply, decimalNumberByDividingBy does not have a retain count
either. I am new to mac programming but I do not see this in the
documentation.
Cocoa strives to be consistent. Instead of repeating the phrase
"This method returns an autoreleased instance" over and over, the
documentation covers memory management rules in great detail just once
and then the APIs follow said rules everywhere...
You want this:
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt.html
b.bum
_______________________________________________
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