I've worked through the Apple XCode Objective-C tutorial that builds a Currency Converter and I'm seeing a parse error on the Converter.m file. I'm using XCode 2.1 on an IBook. The error is "parse error before '-' token "
I'm stumped as to what the issue is. I'm not seeing any difference between what I've typed and the verbiage in the tutorial. I'm really impressed by the XCode tooling so this is doubly frustrating because it all seems like it should be working smoothly. Any help most appreciated.
#import "Converter.h"
@implementation Converter
-(float)convertCurrencyfloat)currency atRatefloat)rate {
return currency * rate;
}
@end
Regards,
Doug
I'm stumped as to what the issue is. I'm not seeing any difference between what I've typed and the verbiage in the tutorial. I'm really impressed by the XCode tooling so this is doubly frustrating because it all seems like it should be working smoothly. Any help most appreciated.
#import "Converter.h"
@implementation Converter
-(float)convertCurrencyfloat)currency atRatefloat)rate {
return currency * rate;
}
@end
Regards,
Doug