IBOutletCollection not supported in macOS

Originator:marcrespass
Number:rdar://28734635 Date Originated:2016-10-12
Status:Open Resolved:
Product:Xcode Product Version:8.1 beta (8T47)
Classification: Reproducible:always
 
Summary:
IBOutletCollection is not supported in macOS

Steps to Reproduce:
Create an IBOutletCollection
@IBOutlet var creationButtons: [NSButton]!

Switch to IB, right-click File's Owner, look for Outlet Collections
Outlet Collections do not appear. 

Attempting to hack the xib with
<outletCollection property="buttonArray" destination="64R-ZU-GWb" collectionClass="NSMutableArray" id="Ouc-J6-vsj"/>
results in an error "Failed to unarchive element named "outletCollection""

Expected Results:
Expected to be able to create IBOutletCollection on macOS just like I do on iOS but that feature is not available on macOS. It is declared in UINibDeclarations.h but not in NSNibDeclarations.h.

Actual Results:
feature unavailable.

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!