UIButton loses ability to connect IBAction when adopts custom protocol

Originator:jakub.jakowski
Number:rdar://30396269 Date Originated:07-02-2017
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 8.2.1 (8C1002)
Classification:Serious Bug Reproducible:Always
 
UIButton loses ability to connect IBAction when adopts custom protocol by extension.

If you do sth like this:

protocol SomeProtocol{}
extension UIButton: SomeProtocol{}

You will no longer be able to connect action from storyboard

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!