Hello everyone,
I am new to Objectvice C and just started learning it.
The situation that I cannot resolve is pretty trivial, I am sure there is something simple I am missing. I created Fraction.m class in my test project in XCode using Source -> Add -> New File ->Objectvie C Class. I filled the .h file with the members and implemented all of them in the *m file. Afterwards I am trying to instantiate this Fraction class in my Program.h class in the main function.
I tried to include the .h file through #import <Fraction.h> directive but I get compiler error "No such file ore directory". Also whenever I am trying to use Fraction class, I get compiler error that Fraction is not defined. Though intellisense in the XCode code editor is seeing both "Fraction.h" and Fraction class. I am sure that there are no compilation errors in the Fraction.h and Fraction.m.
Thanks.
I am new to Objectvice C and just started learning it.
The situation that I cannot resolve is pretty trivial, I am sure there is something simple I am missing. I created Fraction.m class in my test project in XCode using Source -> Add -> New File ->Objectvie C Class. I filled the .h file with the members and implemented all of them in the *m file. Afterwards I am trying to instantiate this Fraction class in my Program.h class in the main function.
I tried to include the .h file through #import <Fraction.h> directive but I get compiler error "No such file ore directory". Also whenever I am trying to use Fraction class, I get compiler error that Fraction is not defined. Though intellisense in the XCode code editor is seeing both "Fraction.h" and Fraction class. I am sure that there are no compilation errors in the Fraction.h and Fraction.m.
Thanks.