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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to