Question

Is there a way to store an Objective-C class instance inside of a C++ class as a member?

Was it helpful?

Solution

You need to make a .mm file, and then you can use the features outlined here. See also a reference to Apple's old documentation on the hybrid language.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top