Interface Builder can't connect action to UIButton with Swift extension

Originator:buerger.florian
Number:rdar://26195102 Date Originated:10-May-2016 04:28 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7.3.1 (7D1014)
Classification:Other Bug Reproducible:Always
 
Summary:
When an Swift extension on UIButton exists in the project or linked frameworks, you can’t connection a method marked with @IBAction to an UIButton.

Steps to Reproduce:
Add an extension to UIButton
Add an UIButton to a view in a XIB or storyboard file
Try to connect the sent action to the file owner.

Expected Results:
Interface Builder shows all methods marked @IBAction from the file owner

Actual Results:
Interface Builder only shows Action and Non-Adaptive Seques

Regression:
As soon as you remove the UIButton extension, everything works as expected.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!