[MAC] Display Cocos2d-x on a NSView

Hi guys,

I’m working on a mac version of a Cocos2d-x. Now the app have a window and 3 subviews on it. I need to add a cocos2d-x view on one of these subviews. It possible if create a new window and display Cocos2d-x on it, but no luck with views in the same window.

Any help?