On Jan 9, 2010, at 8:35 PM, Mr. Gecko wrote:
> I just looked and saw that, so one question. Is array, string, and data all 
> the same as new or are those autorelease?

<http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/MemoryMgmt/Articles/mmObjectOwnership.html#//apple_ref/doc/uid/20000043>.

See the bullet points under "Object Ownership Policy".  See also the section 
"Obtaining Objects Using Convenience Methods", which explains the +array, 
+string, +data, and similarly named methods.

--Andy

_______________________________________________

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