开发者

Sqlite in a textview

Is it possible to display a sqlite values in a textview?I have made it in a tableviewcontroller,but i am not able to displ开发者_如何学JAVAay the same in a textview. appdelegate.biblearray is the array that holds the sqldata.I have the same qustion in another forom .please look at this link for that question [here is the link]: How to show sqlite datas in a textview?

Please help me to do this. Thanks.


Instead of doing

bible *jesus = (bible *)[appDelegate.biblearray objectAtIndex:indexPath.row];

use string variable or the type of value that biblearray contains

NSString *str = [appDelegate.biblearray objectAtIndex:indexPath.row];

For only displaying in textview, you dont need to use class object jesus.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜