[swift-evolution] @avaliable and #avaliable
James Campbell
james at supmenow.com
Thu Feb 4 09:53:57 CST 2016
Just in general. I've been told that # is being seen as a convention for
the compiler to treat it like a macro but we have @avaliable and you're
saying #avaliable isn't even a compiler check.
*___________________________________*
*James⎥Lead Engineer*
*james at supmenow.com <james at supmenow.com>⎥supmenow.com <http://supmenow.com>*
*Sup*
*Runway East *
*10 Finsbury Square*
*London*
* EC2A 1AF *
On Thu, Feb 4, 2016 at 3:48 PM, Jean-Daniel Dupas <mailing at xenonium.com>
wrote:
> It depends it you talk about the @vailable attribute used to annotate
> methods, or the #available runtime check used to choose a code path
> depending the OS version.
>
> Le 4 févr. 2016 à 16:05, James Campbell via swift-evolution <
> swift-evolution at swift.org> a écrit :
>
> How come avaliable sometimes has a @ and a #
>
> *___________________________________*
>
> *James⎥Lead Engineer*
>
> *james at supmenow.com <james at supmenow.com>⎥supmenow.com
> <http://supmenow.com/>*
>
> *Sup*
>
> *Runway East *
>
> *10 Finsbury Square*
>
> *London*
>
> * EC2A 1AF *
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160204/e48c145a/attachment.html>
More information about the swift-evolution
mailing list