Objective-C #1

Quote
#import <Foundation/Foundation.h>
@interface Fraction : NSObject
 -(void) print;
 -(void) setNumerator: (int) n;
 @end
@implementation Fraction {
 int numerator;
 }
-(void) print {}
@end // impelmentation end
int main (int argc, const char * argv[])
 {
 @autoreleasepool {
 Fraction *myFraction
 myFraction = [Fraction alloc]
 myFraction = [myFraction init]
 [myFraction setNumerator:1];
 NSLog(@"The value is");
 [myFraction print];
 } // end of pool
}  // end of line