How to reload in the UITableView class.
I am using the reloadData method but it is not working. / P>
- (id) initWithCoder: (NSCoder *) coder {if (self = [super initWithCoder: coder]) {[self-init]; } Healthy return; } - (id) init {appdelegate = [[UIApplication shared application] representative]; [Appdelegate readLiteratureFromDatabase]; Tbl_obj.backgroundColor = [UIColor clear collar]; Tbl_obj.delegate = self; Tbl_obj.dataSource = self; [Tbl_obj reloaded data]; Array_content = [[NSMUTPABARROL] INIT]; Self return; } Here is an init method call in another class. Then the table does not reload at that time.
Please help!
On your code it appears that you really need to read it;
You should not have a method called init which does not call up super, which will eventually tap into things.
Setting up your docs ivar in an empty irreversible string is nothing but ruins memory, after all you have to set the docs in something real, till that point Wait till allocation
Next, download the TableViewSuite sample from here;
Take a look at a simple sample.
Please take the time to study that sample, this will help you to understand the table ideas.
Comments
Post a Comment