You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[The actual item number in Feedback Assistant is FB7422743]
In SE-0106 (implemented in Swift 3), the name "macOS" was added as an alias for "OSX" in contexts where an operating system name should appear, such as "#if os()" and "if #available()". However, Xcode does not offer "macOS" as an autocompletion value in these contexts. If the user types "Mac", Xcode 11 offers "macCatalyst" as an autocompletion (Xcode 10.3 offers "iosMac").
Apparently the Swift compiler will continue to accept "OSX" for backward compatibility, but after four years it would seem reasonable for Xcode to offer "macOS" as the preferred name. (Whether Xcode should continue offering "OSX" is up to Apple.)
Description
[The actual item number in Feedback Assistant is FB7422743]
In SE-0106 (implemented in Swift 3), the name "macOS" was added as an alias for "OSX" in contexts where an operating system name should appear, such as "#if os()" and "if #available()". However, Xcode does not offer "macOS" as an autocompletion value in these contexts. If the user types "Mac", Xcode 11 offers "macCatalyst" as an autocompletion (Xcode 10.3 offers "iosMac").
Apparently the Swift compiler will continue to accept "OSX" for backward compatibility, but after four years it would seem reasonable for Xcode to offer "macOS" as the preferred name. (Whether Xcode should continue offering "OSX" is up to Apple.)
Product Version: 11.2 (11B52)
Created: 2019-11-01T23:08:56.104900
Originated: 2018-11-01T00:00:00
Open Radar Link: http://www.openradar.me/742274300
The text was updated successfully, but these errors were encountered: