Hello All,
I'm working on a Max port of a fairly large Objective-C project. I decided to do this by creating a framework for my Obj-C stuff, and then calling on the framework methods/classes in my external. Going one way this is fine -- that is, from Max to the framework. But I'm not sure how I can communicate with Max from the framework classes. That is, how can I call methods in my Max external from the framework (so that I can, for example, output info generated in the framework out an object's outlet). Looking at other examples that use Obj-C it seems like the idea is to set a void pointer in the Obj-C class with a reference to the Max class. But I'm not sure how I can do that in my framework. I tried adding the MaxAPI.framework to my project (the framework project, not the external), but I realize it isn't an ordinary framework (i.e., no headers). I also tried adding the headers separately (with the MaxAPI.framework), but that didn't seem to work either... Any tips appreciated.