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
This bug is indeed super crazy. I lost hours because of it. Until now I found 2 reasons, and I'll post here maybe somebody will read and be helpful:
If anybody is using BonMot pod, this is one possible cause. If you remove it, the IBAction will be back.
Any extension on UIButton or UIBarButtonItem can cause this as well. Comment the extension, and the IBAction will be back. Happy coding.
UPDATE: BonMot fixed this issue in 4.0.2