I need to display a bunch of UITableViewCell
in my iPhone application. Sample look below. I know how I can enable accessory view and image to UITableView cell but the problem is that I need to add a star rating as visible on the screen. There's no fancy logic behind it, it will just be few images that will be either enabled or disabled.
I though that I could create a custom UITableViewCell
in NIB but how would I use it in cellForRowAtIndexPath
method. If it was just one custom cell I'd just provide an outlet for it and hook it with a property and use it there. But since it would be used multiple times I think I'll need to clone it or copy somehow.
What is the simpliest way of adding such stuff to UITableViewCell?