views:

521

answers:

2

Hi i have added a segmented control to a detailview header in a subview of a uitableview table and used images for up and down to create a up and down control like the one in mail.app. the buttons are working fine.

im after some advice on how to get rid of that items view and reload the next item without having to go back to the main uitableview.

im sure i saw some code on this website doing exactly that but i cant find it!

can anyone point me in right direction or help?

thanks

A: 

Something like this?

http://stackoverflow.com/questions/2078200/need-approach-to-show-tables-using-segmented-control/2078253#2078253

Andrew Kuklewicz
thanks - its an interesting post but thats controlling whats in the tableview on a segmented control whereas im after moving from one item to another in the detail view.
Neil
A: 

Have you sorted this problem out? I am looking for the same thing and appreciate if you can tell me how to do that. faisal

faisal
Neil
ps im an amateur so this took me a while to figure out. nimrod above was right but i was too inexperienced to understand what he/she meant. MVC is new to me. i've never programmed before. although there are lots of good tutorials on the web they all seem to lack explanations about how to design your mvc model where to put your database functions how to communicate between different bits of your app. e.g. instance variables globals statics etc. i now have 7 apps on sale (doing well) but im still an amateur. they say it takes 10000 hours at anything before you know what you are doing.....
Neil
Thank you very much, with all the above detail and you say you are amature programmer? what shall I say about myself, this sound to complicated for me to achieve :(My app is a medical one and I managed to build a table that drill down, with 3 level view controller till the end where a detailed View Controller nib loads with an image and text. The database is based on plist. with the last detailed view having 10 arrays: item0 to item 10. each array is a dictionary of image name and text. I don't know how to figure out to jump from one array e.g. item1 to the next one item 2. Any idea? Faisal
faisal