Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

742274300: Xcode should offer "macOS" as autocompletion for operating system #21316

Open
openradar-mirror opened this issue Nov 2, 2019 · 0 comments

Comments

@openradar-mirror
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant