[swift-evolution] [Discussion] Design guideline rule for `:`

Ben Rimmington me at benrimmington.com
Wed Jun 22 07:42:11 CDT 2016

> On 22 Jun 2016, at 12:40, Adrian Zubarev via swift-evolution <swift-evolution at swift.org> wrote:
> Should there be a design guideline rule for colons : in Swift?

The standard library team (and Xcode generated interfaces) chose the first style for inheritance and where clauses (using the colon like an infix operator).

The documentation team chose the second style, in "The Swift Programming Language" book, and in their WWDC presentation <https://developer.apple.com/videos/play/wwdc2016/404/>.

-- Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160622/b0fe9baf/attachment.html>

More information about the swift-evolution mailing list