I finished my first application first part. I made it for cross platform. First i created the Core, then the android gui. Now i want to create the iPhone gui design but i dont understand the mechanism:
I want to create a title (navigation bar) on the top of all screen, with the application title and the back button for the sub screens. The home screen at the bottom there are toolbar. I didnt want to use it as a stock tab bar/ tool bar. Ohh i am confused. I placed there two button like in the tab bar or the tool bar. When i press one of them it navigate me to another screen, this two button disappear and i can do something else on this screen. But i can navigate back to the previous screen with the back button on the navigation bar. I want to use tool bar but i can't handle the touch event on it and the tab bar is different what i excepted. I want to navigate to a different screen where this tab bar not exists. Not only just slide for the proper tab screen.
In the interface builder in the Objects & Controllers section i can't use anything. What can i do for these items on it? If i select the Navigation Controller, than i set it in the AppDelegate as rootNavigationController it says, i didnt set the view. But i can't referencing the File's Owner's view with a Navigation Controller, only a view. Then i add a view to the Navigation Controller and referencing on it. But its not working again. It says i set more then once the view. If i delete the referencing, than i receive the previous exception.
Then i think, ok i create the gui with the simpliest controls from the Windows & Bars and Controls.
I place first a view. And then a navigation bar, a table view, and two button on it. I referenced the two button in the code, and the view with the File's Owner. In the code i set the two buttons TouchUpInside event. I found the this.NavigationController and i want to navigate to the new screen by PushViewController, but it is null.
I can't create the GUI to show the informations from the core. I dont understand the mechanism. How can i create an interface from different controls(NavigationController,Table View Controller and Tab Bar Controller). What can contains what. I can place a view in a NavigationController. What is different between PushViewController, set ViewControllers and set rootViewController.
If it true, what i understand from the articles the viewcontroller handle its view. And the view can we design in the interface builder. Are there any good articles which can explain these question for me?