Hay at all readers out there,
At first let me please say that im not to stupid or to lazy to use google or search function in here.
I have a big problem.
I've build in my app delegate a UINavigation controller with my MainView (UIViewController) as a RootController.
Code:
mainView = [[[MainView alloc] initWithNibName:nil bundle:nil] autorelease];
navigationController = [[UINavigationController alloc] initWithRootViewController:mainView];
//window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
[window addSubview:[navigationController view]];
// Override point for customization after application launch
[window makeKeyAndVisible];
Tis works without problems, I push and pop some UIViews there for Navigation purposes without dislaying the Navbar, this also works.
I push on the stack a UITableviewcontroller with an object reference to an object which my appdelegate constructs. my tableview is also populated with the correct dataparts. and i can edit and delete my entries and also I have a working detailview.
All works, EXCEPT TWO THINGS,
if i change in the Edit view (clic in my tableview on an entry --> Detail view with all data ->edit -> datapart -> Editview) and save this and get poped back to detail view, NOTHING changed in the view, no deselect of the cell and no refresh, if I enter again the edit view the data are correct.
if i pop back to the table view the data also are not refreshed, and if i push again the detail view all data correct. if i scroll up and downwards, the cells wich dissapear are refreshed. the same with the Add Item menu.
I inserted the tableView reloadData and other tries but nothing worked for me.
I generate all programmatically because i dislike the IB.
I think i have troubles with the datadelegate and the tableviewdelegate.
I found nothing about that how i had to connect these correct to my files.
The example i looked in was partly build with IB and I can't figure out how this works with the delegate things.
I hope my question is not to stupid.
and thanks that tis forum exist it helped me till now very very much.