Home › Forums › Syphon › Syphon Development – Developer › how do i correlate a KVO with a particular object? › Reply To: how do i correlate a KVO with a particular object?
I actually found a way to do objective-c callbacks to Unity directly from the plugin, so i’m in the process of reworking the system to use NSNotifications instead of KVO. If i use NSNotifications, will they post the notification prior to a server retirement similar to the KVO option?
here is the guide i followed: http://www.tinytimgames.com/2010/01/10/the-unityobjective-c-divide/
but i had to make a bunch of changes after reading the embedded mono docs, will detail them once I get my shit together and make it all work how it should. It’s some voodoo shit that involves searching the compiled assembly for methods by name, caching those methods and invoking their constructors.