[MAC]implement on mac: hide the window from task bar while keeping it shown 

I use `TransformProcessType ` to hide and show the dock icon, because the window will hide if I call `TransformProcessType(&psn, kProcessTransformToUIElementApplication);`, I call ` [window setCanHide:NO];` to prevent the window from hiding.