When I drag from a button on the storyboard to my view controller Swift file, I only get the option to insert an Outlet or Outlet Collection.
Similarly, if I create the
You can try to change the @IBAction's argument from (_ sender: Any) to (_ sender: UIButton) or (_ sender: AnyObject), but manually.
@IBAction
(_ sender: Any)
(_ sender: UIButton)
(_ sender: AnyObject)
It might work.