PDA

View Full Version : details for tableview item




cyda
Apr 19, 2011, 04:29 PM
hi,

i played around a bit with xcode and made a little app with this tutorial:
http://www.iphonesdkarticles.com/2009/03/uitableview-drill-down-table-view.html

its about creating a table view and displaying a detail view for it
e.g select item1 ->select screenA ->detailview

now, in other programming languages i would make a if condition like that:

if item1 is selected AND screenA is Selected then
lbl.text = @"You chose item1 and screen A"


so my question is how i can scan with items were selected.
for better understanding what i mean you could download the sourcecode from the tutorial and try it: http://sites.google.com/site/iphonesdktutorials/sourcecode/DrillDownApp.zip?attredirects=0

thx in advance

edit: i made 2 pictures to clarify:

what i have:
http://img251.imageshack.us/i/gotb.png/

what i want:
http://img196.imageshack.us/i/wanto.png/