I have a little problem. I am writting an app that is a collection of PC graphic card benchmarks. I want the graphic cards to be listed as this (each card is a separate UITableCell):
gfx1 (score: 200 points): -----
gfx2 (score: 150 points): ----
gfx3 (score: 50 points): --
I am using an UISlider subclass to display the chart. The only thing that I changed in my subclass is this:
Now to the problem. I set the maximum value for the slider to be the score of gfx1 and the minimum value to the score of gfx3. The maximum and minimum values are stored when the view loads. This is what happens when I start my app:
So I get a few graphic card listed normaly and then this happens. From this graphic card forward others are listed normaly again until the problem appears again. What could be wrong?
gfx1 (score: 200 points): -----
gfx2 (score: 150 points): ----
gfx3 (score: 50 points): --
I am using an UISlider subclass to display the chart. The only thing that I changed in my subclass is this:
Code:
- (CGRect)trackRectForBounds:(CGRect)bounds
{
return bounds;
}
Now to the problem. I set the maximum value for the slider to be the score of gfx1 and the minimum value to the score of gfx3. The maximum and minimum values are stored when the view loads. This is what happens when I start my app:

So I get a few graphic card listed normaly and then this happens. From this graphic card forward others are listed normaly again until the problem appears again. What could be wrong?