This iPhone programming example walks you through how to create a list using the UITableView Controller. Then the examples shows you how to delete items on the list.
I have the newest version of Xcode, well the table appears but when I click in the name of the submarine not appears the other view. I do not know If is problem of version. The curiously thing is the app succeeded but when I click in the simulator no changes the view. Help please.
any good vids on adding a menu style uitableview to an app built with the utility template? I wanted to use the flipsideview so I started with that template but I want to make the flipsideview a tableview
Actually, I realized that I ended up debugging this exception while in the middle of watching your tutorial, which means my comment may not be spot on.
The commitEditingStyle code now requires that the contentArray is updated prior to the row deletion in the table view, to avoid an NSInternalInconsistencyException. The contentArray must additionally (I believe) be turned into an NSMutableArray.
The commitEditingStyle code thus will require an additional line, right above the deleteRowsAtIndexPaths call which goes:
I think you should do a tutorial on this tutorial(LOL)
richardlipp21 5 months ago
uhm, what document window...Xcode 4 has a different toolbar up top.
Bredli37 6 months ago
uhm, what document window...Xcode has a different toolbar up top.
Bredli37 6 months ago
YOU ARE THE BEST
mikzysw8 10 months ago
I have the newest version of Xcode, well the table appears but when I click in the name of the submarine not appears the other view. I do not know If is problem of version. The curiously thing is the app succeeded but when I click in the simulator no changes the view. Help please.
Thanks for the tutorial¡
Chibaboy79 11 months ago
Thanx 4 this
ossamaalfakeeh 1 year ago
any good vids on adding a menu style uitableview to an app built with the utility template? I wanted to use the flipsideview so I started with that template but I want to make the flipsideview a tableview
greywolf210 1 year ago
Actually, I realized that I ended up debugging this exception while in the middle of watching your tutorial, which means my comment may not be spot on.
kallewooof 1 year ago
The commitEditingStyle code now requires that the contentArray is updated prior to the row deletion in the table view, to avoid an NSInternalInconsistencyException. The contentArray must additionally (I believe) be turned into an NSMutableArray.
The commitEditingStyle code thus will require an additional line, right above the deleteRowsAtIndexPaths call which goes:
[contentArray removeObjectAtIndex:indexPath.row];
kallewooof 1 year ago
Thanks a lot for taking the time to make that video.
Your code throws an exception in newer versions of the iPhone SDK (not sure since which).
(see next comment)
kallewooof 1 year ago