What I am trying to do is use the batteryLevel method to set it's float value to the float value of a ProgressView. But unfortunatley, I keep running into errors.
I get one that says "Expected expression before 'float'.
And one that says "Expected ':' before ']' token.
This will be my first iPhone app... if it ever works...
Any help would be great.
I get one that says "Expected expression before 'float'.
And one that says "Expected ':' before ']' token.
Code:
- ([COLOR="magenta"]void[/COLOR])setChargeProgBar:([COLOR="magenta"]id[/COLOR])sender{
[[COLOR="teal"]chargeProgBar[/COLOR] floatValue:[[COLOR="magenta"]float[/COLOR] [COLOR="navy"]batteryLevel[/COLOR]]];
}
This will be my first iPhone app... if it ever works...
Any help would be great.