Create stub functions for validateDrop and acceptDrop.
This commit is contained in:
parent
9e55a4da50
commit
2769c93c20
@ -44,9 +44,21 @@ import RSCore
|
|||||||
// This will have to be revisited later when there are user-created smart feeds that *can* be dragged.
|
// This will have to be revisited later when there are user-created smart feeds that *can* be dragged.
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return (node.representedObject as? PasteboardWriterOwner)?.pasteboardWriter
|
return (node.representedObject as? PasteboardWriterOwner)?.pasteboardWriter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// MARK: - Drag and Drop
|
||||||
|
|
||||||
|
func outlineView(_ outlineView: NSOutlineView, validateDrop info: NSDraggingInfo, proposedItem item: Any?, proposedChildIndex index: Int) -> NSDragOperation {
|
||||||
|
// let draggingSourceOutlineView = info.draggingSource() as? NSOutlineView
|
||||||
|
// let isLocalDrop = draggingSourceOutlineView == outlineView
|
||||||
|
return NSDragOperation(rawValue: 0)
|
||||||
|
}
|
||||||
|
|
||||||
|
func outlineView(_ outlineView: NSOutlineView, acceptDrop info: NSDraggingInfo, item: Any?, childIndex index: Int) -> Bool {
|
||||||
|
return false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Private
|
// MARK: - Private
|
||||||
|
Loading…
x
Reference in New Issue
Block a user