문제

I am trying to reproduce the windows snapping/merge functionnality of the last Tweetbot for Mac. If you have 2 windows and you bring one close to the other, they snap and are merge in a single window.

Do you know how I can do this?

Thanks

도움이 되었습니까?

해결책

Indragie Karunaratne (@Indragie) created an NSWindow subclass to do just that.

https://github.com/indragiek/INDockableWindow

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top