Is a good practice to alloc an object and defer the initialization to another object?
Is a good practice to alloc an object and defer the initialization to another object?
- Subject: Is a good practice to alloc an object and defer the initialization to another object?
- From: Giannandrea Castaldi <email@hidden>
- Date: Wed, 10 Feb 2010 14:27:00 +0100
Hi,
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.
Thanks.
Jean
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden