Stop doing Sample Code in Swift while the syntax is changing
||Product Version:||Version 8.2 (8C38) & 10.12.3 (16D32)|
Apple has published a lot of sample code in Swift that no longer works because of syntax changes.
Code in WWDC videos no longer works, code in presentation slides no longer works, downloadable sample code no longer works.
One good example is the sample code for writing modern Cocoa apps on macOS:
This code can no longer be compiled on the latest version of macOS Sierra with the latest version of Xcode.
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!