Many programming languages have an easier way to handle if a string is null. Is there anything with NSSTring that you can use without having to use if then.
I am showing some data in a tableview cell and sometimes the data is really null I dont want the ugly (NULL) showing up in my cell.
Thanks!
ifstatements?ISNULLfunction in Objective-C? To me it seems rather straightforward.id ObjectOrPlaceholder(id object, id placeholder) { return object != nil ? object : placeholder; }