On Tue, Jan 19, 2010 at 7:01 PM, mmalc Crawford <mmalc_li...@me.com> wrote:
>> No, you should just *retain* the result of dictionaryWithCapacity.
>>
> No, you shouldn't.
>
> If you're writing an init method and want to assign the dictionary to an 
> instance variable, you should use alloc/init.

Why?
_______________________________________________

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