maybe you should retain or copy tmpArray
although I think you should use just your mutable self.produtos array...
override init
- initWithStyle... {
self.produtos = [[NSMutableArray alloc] init];
}
add values when viewDidLoad:
[self.produtos addEntriesFromDictionary:[Tbprod findAllRemote]];
and reload your table:
[[self tableView] reloadData]; instead of [[self.tableView] reloadData];
PS: you shouldn't call [Tbprod findAllRemote] the way you're doing! your app will freeze... you need to create async calls using NSOperationQueues, so that code should be more complex than that using delegates