Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Code:
//  main.m

#import <Foundation/Foundation.h>
#import "Fraction.h"

int main (int argc, const char * argv[])
{

    @autoreleasepool {
        
        
        //testing out my new fraction class
        
        Fraction *mf;
        mf=[[Fraction alloc]init];
        
        [mf [COLOR="Blue"]setnumerator[/COLOR]: 5];
        [mf [COLOR="Blue"]setdenominator[/COLOR]: 6];
    }
    return 0;
}

The error message I'm getting is: "Receiver type "Fraction" for instance message does not declare a method with selector "set numerator" and "set denominator"

Curious: what happens if you change the spelling of the blue method selectors to "setNumerator" and "setDenominator"?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.