I'm new to iPhone development, and a few views (xib or nib) really bother me. This is what I'm trying to achieve ...
- View with the tab bar (tab 1, tab 2, tab 3)
- Tab 2 View (navigation controller) 2.1. Selecting a row table displays a view with information about cell 2.2. The add button on the navigation panel displays a series of presentation interfaces for receiving various types of information (for example, location information, personal information, etc.). It is necessary that this be consistent, you cannot use the control segment for this. When the information is successfully collected, create a new cell in the table of tables Tab 2, save the associated information with a custom structure and show the completion page with two parameters (add another, view the added item - view only in view mode).
I am confused about how to handle these multiple views (both by linking them together and communicating information back and forth). Will all this be handled by my application delegation class or can I / should use multiple delegate classes? In any case, you can point me in the right direction - perhaps some kind of sample application or tutorial explaining how to deal with a situation like this or more complex.
Any help in this regard would be greatly appreciated.
I have seen examples of TheElements and SeismicXML.
TheElements example code gives a general idea of how to use the UITabBarController and the UINavigationController , but this example does not discuss passing information from the Child Controller to the Parent.
In my case, I have a UITabBarController , one of the tabs shows a UINavigationController with (+) in the upper right corner or the navigation bar. Now (+) will open the interface for user input and this input will be used to store data (for example, in sql) and create a new table cell in the UITableView built into the UINavigationController . Now the interface that opens using (+) will be entered by the user in accordance with the sequence of steps (for example, Main> Step 1> Step 2> Complete). At each step, a separate view will be displayed. I find it difficult to develop this model. Or maybe I'm not used to programming in Cocoa / iPhone, and I'm not looking directly. What other options do I have - when it comes to user input with 20-30 fields (text, list, date, image etc). Can you provide some information about this.
Thank you for your help.
iphone
Mustafa
source share