Doc of awakeFromNib is inaccurate

Originator:an00na
Number:rdar://39412050 Date Originated:April 13 2018, 9:43 AM
Status:Open Resolved:
Product:Developer Tools Product Version:9.3
Classification:Other Bug Reproducible:Always
 
Summary:
The document of awakeFromNib() says:
When an object receives an awakeFromNib message, it is guaranteed to have all its outlet and action connections already established.

However for UIViewControllers loaded from Storyboards their outlet and action connections are not yet established when their awakeFromNib() are called. They are only established when viewDidLoad() are called.

Steps to Reproduce:
1. Launch sample app.
2. Read console logs.

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!