开发者

NSMutableArray does not print well with several lines of string

while(sqlite3_step(compiledStatement) == SQLITE_ROW) {

  NSString *araci2 = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 2)];

  [dbarray addObject:araci2];

  NSLog(@"DB ITEMS: %@",dbarray);

}

First of all, I try to get a description longer than a line from db. While part of the value appears meaningful, some of the characters of those values are absurd like "00fu". How can I print them in proper fa开发者_高级运维shion ?


I got over gentles. .. I created class and received those values by class variable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜