9/15/2023 0 Comments Rename osxForcing developers to migrate OSX to macOS places an undue burden on existing code.Developers can and will still deploy to OS X for Yosemite and El Capitan using Swift.That's the wrong name for Sierra's now-supported operating system. The configuration test should not remain as #if os(OSX).Adding rather than replacing "OSX" enables API adoption to be purely additive and supports the notion that Swift-based applications can and may be deployed to operating systems earlier than Sierra.Ĭhoosing to use both names originates from the following rationale: Swift Evolution Discussion: Aliasing the OS X Platform Configuration Test MotivationĪt WWDC 2016, Apple renamed its Mac operating system from OSX to macOS. This proposal adds the #if os(macOS) platform configuration test to alias the current #if os(OSX) While this is a trivial API change, I have put together a formal proposal as is normal and usual for this process. All user-facing Swift APIs must go through Swift Evolution. Starting in Sierra, Apple's Mac-based OS (OS X) will be renamed "macOS". Add a macOS Alias for the OSX Platform Configuration Test
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |