That isn't how you declare a method in Objective-C. In your interface, you declare the method like this:
@interface MyClass2000 : MyBaseClass {
NSString *someVariableDeclaration;
}
- (void) myMethod;
@end
And then you implement the function in your .m like this:
@implementation MyClass2000 {
NSString * someDifferentVariableDeclaration;
}
- (void) myMethod
{
//Does something interesting here
myData[0] = 0;
myData[1] = 1;
}
@end