views:

7

answers:

0

Hi,

First, I have different forms that i generate automatically (UITableView). My forms consits of textfields, pickers, and switches. I generate them by using a self wrote plist file with a logic in it.

Second, I have made up the objects to fill up via my datamodel and they work fine.

Now, It' time to look for "the best practice" to fill up my UITableViewCells with the objects and vica verca.

What i can do( but i dont't like it)

UITableViewCell *cellToFillUp = [self.tableView cellForRowAtIndexPath:0]; cellToFillUp = HelloWorldObject.property1; UITableViewCell *cellToFillUp = [self.tableView cellForRowAtIndexPath:1]; cellToFillUp = HelloWorldObject.property2; ...

But this looks silly. Is there a good way to handle this?

Thanks