I am able to right-click and drag from my custom UIView subclass file to the storyboard elements to connect them, but unable to do so the other way around. I believe this is
I've resolved my issue by following process.
Hope this will work for you!!
Its basic, but easy to overlook. Make sure the view controller you are dragging the outlet to is labeled as the custom class you created.
We see this issue sometimes too since Xcode 8
, and assume this is a Xcode bug.
As a workaround:
Write the outlet in code @IBOutlet weak var myUiElement: UIView!
Ctrl + Drag from your outlet to the UI element in the Storyboard