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 (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