iphone - Question about changing the first view my app loads -
starting top, making application in new project section of xcode, new view based application, using core data storage. xcode awesome job of populating lots of useful code me when click build, have bar @ top edit , add buttons, , plain uitableview blank. question concerns how might go making simple view first 1 loads. have editable uitableview second view in drill down sequence, more user friendly welcome tableview doesn't have edit , add buttons on bar, launch first. user can click on row in first view, lead them screen first. have tried making new class corresponding .xib file, , referencing in mainwindow.xib file referencing rootscreen.xib, didn't work. thoughts or suggestions appreciated, thanks!
there number of useful tutorials started.
one simple approach create new view using interface builder - class have created.
now in first tableview, need place code in the
didselectrowatindexpath call next tableview. if class subview
you along lines of...
subview * aview = [[subview alloc] init]; aview.someproperty=index.path; [self presentmodalviewcontroller:aview animated:yes]; [aview release];
the code use above depend on how want subviews load - , how have written them display data need.
iphone programming isnot drag , drop. have lot learn. above should started, suggest try of sample applications on apple site , carry on there.
Comments
Post a Comment