Can't drag-create outlets

Rick Mann

Xcode 9.4.1.

I have a custom UIView subclass that contains a UIStackView, and inside that I have some views. I want to control-drag from those views to my custom UIView, and create outlets to them, but Xcode won't let me. It'll only offer to create actions.

If I create the outlet first (in the source), I can drag from that to the view in IB, and it wires up just fine. But this is tedious.

I tried restarting Xcode, but that doesn't seem to help.

Any ideas?

Rick Mann

Join to automatically receive all group messages.