title: How do I connect "Sent events" in storyboard to an event handler function in Xcode 13.3 using Swift?
body: <p>I recently updated the OS as well as Xcode version on my macbook, and I'm not sure if I am doing anything wrong. I have only sparingly worked with older version of Xcode and Objective C before.</p>
  <p>From a button that I added in storyboard I want to connect the &quot;touch up inside&quot; user event to a function as shown below, but it is not letting me:</p>
  <p><a href="https://i.stack.imgur.com/4W9EJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4W9EJ.png" alt="enter image description here" /></a></p>
  <p>I have tried clicking and dragging from the sent event radio button in storyboard to the function name (as shown above, which worked when connecting this button's referencing output to an IBOutlet variable previously) as well as dragging to the radio button next to the function name, as shown below:</p>
  <p><a href="https://i.stack.imgur.com/bqnKg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bqnKg.png" alt="enter image description here" /></a></p>
  <p>Nothing happened in both cases and it is not letting me connect the user event to the desired function. Is there anything different I need to do in Xcode 13.3? Is there any way to do this by editing a file rather than using the GUI?</p>