aborting init
aborting init
- Subject: aborting init
- From: Rainer Standke <email@hidden>
- Date: Mon, 29 Nov 2010 18:59:14 -0800
Hello,
I am thinking about doing something like this:
- to init a custom object, call a convenience initializer that in turn calls the designated initializer
- in the convenience initializer, before the designated initializer is called, check some conditions. If that test fails return nil.
The intended behavior is not to get anything if the conditions are not met.
Is this kosher? Do I have to do any kind of clean-up after doing something like that?
Thanks,
Rainer_______________________________________________
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