I was using this in my iPhone app
if (title == nil) { // do something }
but it throws some exception, and the console shows that the ti
it is just as simple as
if([object length] >0) { // do something }
remember that in objective C if object is null it returns 0 as the value.
This will get you both a null string and a 0 length string.