You need to make the ViewController conform to the protocol, so your line will read like this.
class ViewController: UIViewController, UIDropInteractionDelegate, UIDragInteractionDelegate {
You need to make the ViewController conform to the protocol, so your line will read like this.
class ViewController: UIViewController, UIDropInteractionDelegate, UIDragInteractionDelegate {
Written by