NSComboBox Emits warnings when compiled in a xib

Originator:mrjohnniewalker
Number:rdar://23629969 Date Originated:20-Nov-2015 05:26 PM
Status:Open Resolved:
Product:Developer Tools Product Version:7.0
Classification:Other Bug Reproducible:Always
 
Summary:
When compiling a xib containing an NSComboBox with the “usesDataSource” property set to YES, several warnings appear in the build log, e.g:

2015-11-20 17:16:11.751 ibtoold[83800:11858074] *** -[NSComboBoxCell removeAllItems] should not be called when usesDataSource is set to YES
2015-11-20 17:16:11.752 ibtoold[83800:11858074] *** -[NSComboBoxCell addItemsWithObjectValues:] should not be called when usesDataSource is set to YES
2015-11-20 17:16:11.780 ibtoold[83800:11858074] *** -[NSComboBoxCell objectValues] should not be called when usesDataSource is set to YES


Steps to Reproduce:
1. Make a new OS X project in Xcode. 
2. Place an NSComboBox into the Xib
3. Select the NSComboBox and check “usesDataSource” in the inspector
4. Build the project
5. Expand the build log for the xib

Expected Results:
NSComboBox should not emit warnings into the build log

Actual Results:
NSComboBox emits warnings into the build log

Regression:
None

Notes:
This is minor, I know.

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!