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.
精彩评论