IMO, “target environment” and “simulator” are clear and self-explanatory;
“destination” means nothing to me, and just because Xcode uses it in the
context of a GUI does not mean that it is the best solution. I’m very much
in favor of this proposal exactly as it is.

On Mon, Nov 20, 2017 at 20:50 Ben Rimmington via swift-evolution <
swift-evolution@swift.org> wrote:

> > On 21 Nov 2017, at 00:17, Jonathan Hull wrote:
> >
> > I would also like to see something shorter than targetEnvironment(), but
> it is somewhat infrequently used, so it isn’t that big a deal.  It is just
> compared to os() and arch(), this is kind of a beast.  It is a power user
> thing, so maybe something like ‘env()’ would work?  I normally try to avoid
> abbreviations, but we have arch() as precedent.  The word ‘Simulator’
> should be what stands out...
>
> Xcode uses `destination`:
>
> e.g. <https://help.apple.com/xcode/mac/9.0/#/dev40e0a11aa>
>
> e.g. <https://help.apple.com/xcode/mac/9.0/#/dev7b20475ba>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution@swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to