Because of some essential C++ libraries, I have to mix Objective-C and C++ in my code. But the problem is that the callback between C and Objective-C is extremely hard to design and manipulate, so I found
NSNotification to the rescue.
Many functions in my C++ library are asynchronously running and I found
NSNotification can help me a lot. By sending unique group of notifications, my C++ libraries and Objective-C manager controlling them can communicate smoothly.
But is it a good design? The other ways are limited including
Objective-C running time binding or using