Hello!
I am planning a new app and is abit confused about how to organize the navigation. My structure for the app is to show a tableView and a tabBar as the user opens up the app. If the user clicks on one of the table view cells, he will get to a specific part of the app. For instance if he clicks on a cell called book shops the view would change and a new tableview appears with some book shops. Every cell in this new tableView describes a book shops for instance. If the user clicks on one of the book shops he will get a more detailed information about the chosen book shop. In the first table view showing all the book shops the user shall also be able to click on a button in the head navigation bar, which will switch to a mapView with all the book shops annotated. My problem is - how shall I (as clever as possible) organize those different views. I suppose that I have to make the table view and the mapview subviews to the book shop view? I have seen that in interface builder is it possible to add many views to one xib. How do I switch between the views I have added? I know how to program the single part of the app but my problme is always to connect the parts properly. I have read two books and followed a lot of tutorials on the internet but I do not really get the structure to use when an app is more complex than the examples available by apple... Perhapt someone would like to post me an example on big and complex projekt, only to let me see the structure one may use...?
I am looking forward to any comments or advice, because I really want to learn about this.
Thanks in advance!
MACloop
I am planning a new app and is abit confused about how to organize the navigation. My structure for the app is to show a tableView and a tabBar as the user opens up the app. If the user clicks on one of the table view cells, he will get to a specific part of the app. For instance if he clicks on a cell called book shops the view would change and a new tableview appears with some book shops. Every cell in this new tableView describes a book shops for instance. If the user clicks on one of the book shops he will get a more detailed information about the chosen book shop. In the first table view showing all the book shops the user shall also be able to click on a button in the head navigation bar, which will switch to a mapView with all the book shops annotated. My problem is - how shall I (as clever as possible) organize those different views. I suppose that I have to make the table view and the mapview subviews to the book shop view? I have seen that in interface builder is it possible to add many views to one xib. How do I switch between the views I have added? I know how to program the single part of the app but my problme is always to connect the parts properly. I have read two books and followed a lot of tutorials on the internet but I do not really get the structure to use when an app is more complex than the examples available by apple... Perhapt someone would like to post me an example on big and complex projekt, only to let me see the structure one may use...?
I am looking forward to any comments or advice, because I really want to learn about this.
Thanks in advance!
MACloop