I have an app that lays out pages for a magazine. The app lays out pages (NSViews of a class called Page) of a magazine on a NSView called MasterPage (which itself is the contentView of an NSScrollView). Think of a grid of pages in a scroll view.
The "pages" then have subviews auto placed on them that represent ads (class = Ad). I want to be able to drag these ads within their superview (an NSView of the Page class) and between subviews of MasterPage (the other Page class views).
I can drag the Ad class NSView on the Page class NSView it was originally placed on by invoking the mouseDragged method but how can I "release" the Ad class subview from the superview and drag it to another NSView?
Hopefully that made sense.