testcpp里面的用的还是老方法NotificationCenter::getInstance()->addObserver(this, callfuncO_selector(Light::switchStateChanged), MSG_SWITCH_STATE, NULL);
新方法应该怎么写啊
testcpp里面的用的还是老方法NotificationCenter::getInstance()->addObserver(this, callfuncO_selector(Light::switchStateChanged), MSG_SWITCH_STATE, NULL);
新方法应该怎么写啊