[8T61a] Conforming to a protocol from a UICollectionView extension breaks delegate IBOutlet.

Originator:mabdala
Number:rdar://28983582 Date Originated:10/27/2016
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 8.1 GM (8T61a)
Classification:Other Bug Reproducible:Always
 
Summary:
This code, placed ANYWHERE on your code, will make the delegate outlet unavailable from IB to connect on UICollectioView.

```
protocol WhicheverProtocol {
    
}

extension UICollectionView: WhicheverProtocol {
    
}
```

Steps to Reproduce:
1. Open sample app
2. Paste above code
3. Add UICollectionView to a viewController in IB, try to connect its delegate to the view controller.

Expected Results:
4. delegate gets connected

Actual Results:
4. delegate isn't listed

Version:
Xcode 8.1 GM (8T61a)

Notes:


Configuration:


Attachments:

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!