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
UITableViewCell
NSMutableArray *starArray
and CFFloat
rating inside the interfaceinside the cellForRowAtIndexPath
rating = any float value that can be 0,0.5,1,1.5
.....
and call (void)rightImageSet
: this method will fill in all the images string you required for the particular rating.
In rightImageSet
apply the logic
In a case anything is not clear comment