Extending UIControl such as UISegmentedControl with a protocol prevents Interface Builder from showing sent actions

Originator:dev
Number:rdar://24787508 Date Originated:23-02-2016
Status:Open Resolved:
Product:Interface Builder Product Version:7.2.1
Classification:Bug Reproducible:Always
 
Summary:
If you have any Swift protocol and try to extend specific UIControl(such as UISegmentedControl) with it, any UISegmentedControl on InterfaceBuilder attributes tab loses sent actions chapter. Also it becomes impossible to drag IBAction to view controller - only IBOutlets and IBOutletCollections are shown.

Steps to Reproduce:
protocol Foo {}
extension UISegmentedControl: Foo {}

Expected Results:
UISegmentedControl has actions ( ValueChanged, OnTouchUpInside etc) in attributes inspector in Interface Builder

Actual Results:
Actions are hidden, unless extension is commented out.

Version:
Xcode 7.2.1
OS X 10.11.3

Comments

Marked as duplicate of 17023935


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!