> Can I ask why you’re trying to do this? This sounds like something that’s so > unusual to do that I suspect you’re trying to use an overly complicated > approach to achieve something that is really simple in Cocoa. And what > exactly do you mean by “synchronous window moving event”?
I want to have edge snapping on my windows. > You shouldn’t generally need to have to worry about window dragging. I worry about a lot of things that I generally should not care about :) > This makes dragging more responsive, and makes it work even while your > application is blocked, hung, etc. So I noticed. > And finally, if you’re trying to snap a window to a grid or resize it on a > grid or something like that, there are NSWindow delegate methods that give > you the rect AppKit would use for the new window size/position, where you can > return a modified version of the rect. Which methods? Are these called synchronously or asynchronously (i.e. too rarely to be useful)? Thanks. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com