UITableView as Grid
Hi All,
I am new to iPhone development and really enjoy it, though I have been programming with MS stuff for over 10 years. As such, I am having a hard time getting the hang of the UITableView, as I am far more fluent in using DataGrids.
What I would love to be able to do is have a master tableview, and when a record/cell is selected, pass the record ID instead of the displayed text to the detail tableview. Because my stored procs in my webservice already have lookups by ID and I am using normalized tables using ID values, I would prefer not to have to do the lookup based on the text of the record.
I already have an NSMutableArray of NSMutableDictionary items to populate the master tableview datasource with both the ID and data. I assume I would just need a custom tablecell with a hidden label or text field for the ID instead of just assigning the text to the cell.
If anyone has any alternative suggestions, I would love to hear them. I am loving this challenge and would like to continue, but the lack of a datagrid appears to me to be forcing some pretty bad habits from a developer/architect perspective...B-)
Thanks,
jax
|