> On Jun 16, 2016, at 9:29 AM, Charlie Monroe <[email protected]> wrote:
> 
> Have you considered just #if os(mac)? I mean the fact that you're testing 
> against "OS" is already expressed. I know it goes against the other values 
> (watchOS, tvOS), but I'd personally drop those as well in favor of simplier 
> os(watch), os(tv).
> 
> This would go along the various Swift 3 improvements where e.g. 
> NSFileManager.defaultManager() became simply FileManager.default (thus 
> dropping the unnecessary "Manager")...
> 
> But I understand if you're against it, considering that these are really 
> trademarks and official OS names...
> 
> 

I felt consistency with iOS/tvOS/watchOS was more important.

-- E

>> On Jun 16, 2016, at 4:29 PM, Erica Sadun via swift-evolution 
>> <[email protected] <mailto:[email protected]>> wrote:
>> 
>> Starting in Sierra, Apple's Mac-based OS is renamed to macOS.
>> 
>> All user-facing Swift APIs must go through Swift Evolution. While this is a 
>> trivial API change, I have put together a formal proposal as is normal and 
>> usual for this process. Here is a draft for public comment.
>> 
>>  -- Erica
>> 
>> Gist:  https://gist.github.com/erica/f53fa6cfef9e5cf17ab139f7528edde2 
>> <https://gist.github.com/erica/f53fa6cfef9e5cf17ab139f7528edde2>
>> 
>> Aliasing the OS X Platform Configuration Test
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to