> 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

Reply via email to