On Wed, Feb 10, 2010 at 5:27 AM, Giannandrea Castaldi
<g.casta...@gmail.com> wrote:
> I would like to alloc an object and defer the initialization to
> another object, is a good practice? The reason is that I can alloc
> several types of objects but the init method have the same signature.

No. You must always do [[Foo alloc] init].

--Kyle Sluder
_______________________________________________

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