NSStackView documentation overview references deprecated property

Originator:Greiner.Mike
Number:rdar://35038785 Date Originated:2017-10-17
Status:Closed Resolved:2017-10-31
Product:macOS + SDK Documentation Product Version:10.13
Classification:Bug Reproducible:Yes
 
NSStackView documentation overview references deprecated property

macOS + SDK Documentation

Summary:
The Overview section of the latest NSStackView documentation references a deprecated method in its third paragraph:

"Using a stack view can simplify your code in other ways as well. For example, to specify equal spacing for the views in a stack view layout, simply assign a value of true to the hasEqualSpacing property."

Steps to Reproduce:

1. Read the third paragraph of https://developer.apple.com/documentation/appkit/nsstackview

2. Follow the hyperlink for the hasEqualSpacing property in the paragraph text.

Expected Results:

The overview documentation should not be directing readers to use deprecated APIs

Actual Results:

The method is marked deprecated

Version/Build:
10.13 SDK

Configuration:

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!