Checking for nil-return
Checking for nil-return
- Subject: Checking for nil-return
- From: Remco Poelstra <email@hidden>
- Date: Tue, 05 Oct 2010 16:07:56 +0200
Hi,
I'm cleaning up my code and I'm wondering about constructs like the next
one:
[NSNumber numberWithUnsignedChar:i]
The documentation does not say it can return nil on failure, but does
that mean it simply will never fail? What if there is no memory left?
Kind regards,
Remco Poelstra
_______________________________________________
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