It appears to me that there currently exists no application for OS X that enables window snapping, as seen in some distributions of Linux or like allSnap does for Windows. Therefore, I have been thinking of creating such a cocoa application in Objective-C.
I am thinking of somehow getting a list of all currently open applications, and then using an NSDistantObject call to every one of them, fetching their window details (frame origin, height, width etc).
Then, have a listener for when a window is moved (listening for NSWindowDidMoveNotification or something) or if its dimensions change. Afterwards, somehow have the snapping program set the height and width of the window (setFrameOrigin if the window is dragged) that is changing accordingly whenever it is say 5px away from the border of another window.
It is currently just a vague idea. Any thoughts that might make this idea more realistic/concrete, or a link to an existing window snapping application for OS X, would be much appreciated.