re: Objective-C++
re: Objective-C++
>How can I call Objective-C or Java classes from C++ using Objective-C++?
class MyCPPClass
{
protected:
NSNumber *myNumber;
id myObject;
public:
void someFunc();
MyCPPClass()
{
myNumber = [NSNumber numberWithInt:42];
cout<<"The answer is "<<[myNumber intValue]<<endl;
}
};
Josh
---
//email@hidden
http://www.areax.net
id theWorld;
theWorld = [[NSIllusion alloc] init];