开发者

Sqlite in a textview

开发者 https://www.devze.com 2023-04-09 18:59 出处:网络
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 arra

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

精彩评论

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