After some success with the tutorials I decided to mess around a bit and was quickly stuck with NSTextField -rather heartbreaking, since this is seems to pretty easy. Here is the scenario.
1. Press a button
2. The button sends a message to a controler object
3. controller object sends a message to a "Message Text" element to
change its title to "Running".
Simple enough right? Here is the method implementation. Note that "MessageArea" is of "IBOutlet id" type and points to the Message Text element.
- (IBAction)start

id)sender
{
[ MessageArea setStringValue:@"Running" ];
... some other code goes below here, which I know it's not broken
}
Well, this drives the compiler bananas! It returns an error for all the code that follows and no error for the setStringValue call. Weird ah? If I comment the suspect line above, all compiles perfectly. Any ideas?
[This message has been edited by DaGuy (edited 05-28-2001).]