iPhone UISlider question
<p>Why is it that in the following code:</p>

<pre><code>-(IBAction)updateSlider:(id)sender {
UISlider *slider = (UISlider *) sender;
int amount = (int)(slider.value);

NSString *newText = [[NSString alloc]initWithFormat:@"%d", amount];

sliderLabel.text = newText;
newText.release;
</code></pre>

<p>}</p>

<p>the line "int amount = (int)(slider.value);" is the way it is?  Why couldn't it be simply "int amount = int slider.value"???</p>
