Lets I have C++ header such as:
class Color
{
public:
Boolean OnInitDialog();
};
Could I do the implementation in ObjectiveC with something like:
-(BOOL) OnInitDialog
{
...
return TRUE;
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you could create an Objective-C class and then write a c++ wrapper for it. Something along the lines of
color.h
color.m
colorwrapper.h
colorwrapper.mm
Of course this is not complete code and probably is not completely right… but you get the general idea.