No Title

08 March 2017

Views: 128

Instead of just having

... = [NSString stringWithUTF8String:
(char *)sqlite3_column_text(compiledStatement, 15)]
You want to use something like

... = ((char *)sqlite3_column_text(compiledStatement, 15)) ?
[NSString stringWithUTF8String:
(char *)sqlite3_column_text(compiledStatement, 15)] : nil;

Share