On Mar 13, 2010, at 10:57 AM, Tobias Jordan wrote:

What made me think it is a bug was actually only the fact that instruments told me the object is always still alive and the 'missing' note in the documentations that tell me I don't need to release it because of some caching techniques.

Whether or not caching is happening behind the scenes is an implementation detail, not something that should need to be specifically called out in the documentation if it's not germane to the published behavior. Obviously there are cases where it's specifically called out when there is a clear benefit. For example, + [NSImage imageNamed:] maintains a cache for reusable images to minimize the memory footprint and image load times.

_______________________________________________

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