advertisement

Article:
  Creating a Color Meter Using Cocoa
Subject:   Parse Error
Date:   2003-03-29 18:48:55
From:   anonymous2
note: I am using the new edition of project builder. Also note I am just learning Objective C and programming in general at this time.


My first build revealed 5 parse errors for each of my setColor methods:


- (IBAction)setBlue:(id)sender
{
blueValue = [sender floatValue];
[blueField setFloatValue:blueValue];
[blueSlider setFLoatValue:blueValue];
[self updateColor];
}


The compiler selected the opening brace, and suggested that there was a parse error above it that prevented the application from compiling. What is a parse error, and what might be causing them? I suspect it is a typo, but that may not be the real culprit. Please help.