How to embed a nswindow|nsview from other process to my window?Can NSWindowSharingReadWrite Help?

hey guys~ I want to embed a nswindow|nsview from other process at my window.

What I know: I found the "NSWindowSharingReadWrite" property of nswindow,so I thought maybe I can modify the content of a window from other process.

so, how to modify the content of a nswindow? Is there any code example or Docs?

It will be better If you know other way to embed a window.

thanks~

Anyway,I found my answer,You can use IOSurface,but the api documents really not good for new mac developer. Thought there may be some performance cause,this is the only way I can find...

How to embed a nswindow|nsview from other process to my window?Can NSWindowSharingReadWrite Help?
 
 
Q