I got UITableView in simple view, which controlled by UIViewController
I implement methods like in standard UITableViewController:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
But it doesnt work. Nothing showes in the table
How can i upload the data to this UITableView?
UITableViewto point to yourUIViewController?<UITableViewDataSource>protocol, in this way you will receive some warning if you missed to implement some required method.Are you trying to use an
UIViewControllerin place of aUITableViewController? Why? (As Damien said, this should be the first question).