Re: how to test for NULL (or nil, or null)
Re: how to test for NULL (or nil, or null)
- Subject: Re: how to test for NULL (or nil, or null)
- From: Denis Stanton <email@hidden>
- Date: Mon, 1 Mar 2004 12:04:19 +1300
Thanks again.
if ([myObject isEqual:[NSNull null]])
works, and looks better to me.
Denis
On Monday, March 1, 2004, at 11:47 AM, Pete Yandell wrote:
In fact, now that I think about it, you probably can do:
if ([myObject isEqual:[NSNull null]])
I'll leave it to you to decide which is better coding style. :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.