> On Apr 4, 2016, at 7:01 PM, Jonathan Tang <jonathan.d.t...@gmail.com> wrote:
>
> I assume that the @available annotation generated would also work for
> watchOS, tvOS, etc. frameworks.
Yes
> How would it work for non-iOS Swift platforms? I'm not terribly familiar
> with how #available works on Linux, but the versioning problem exists there
> too.
In my experience, "linux" cannot be listed inside @available. I think we need
to add it.
I'm not sure the "version" of Linux is meaningful (e.g. - interpreted as kernel
version? glibc?) but I think clearly "linux" the vaguely-versioned platform
should be allowed in an @availability attribute.
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution