This is my code.
NSString *enddate = [[NSString alloc] initWithUTF8String:(char *)sqlite3_column_text(statement, 3)];
I need to have null dates, but when null is passed to this string, I get an error
* Application termination due to an uncaught exception 'NSInvalidArgumentException', reason: '* - [NSPlaceholderString initWithUTF8String:]: NULL cString'
source share