I want to create a drag and drop zone (using an NSView) for any file in my coke app. How do i do this
read. You want your custom view to be a "dragging destination." You will need to understand the pasteboard and file path types of the pasteboard, how to add a visual subclass (a normal NSView for your own custom class, or an existing view like NSImageView) and appropriate dragging source methods.
No comments:
Post a Comment