Will NSObject's init method ever really return nil?

E.g. if I sub-class NSObject, then is it worth checking for nil after
doing self = [super init]?

I know there are many classes in UIKit and Cocoa which most definitely
can return nil from their -init's, as an indication of failure. But
will this ever be the case with NSObject?

-Patrick
_______________________________________________

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