<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 22 Jun 2016, at 12:40, Adrian Zubarev via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="bloop_markdown" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(254, 254, 254);"><p style="margin: 15px 0px; -webkit-margin-before: 0px;" class="">Should there be a design guideline rule for colons<span class="Apple-converted-space"> </span><code style="font-family: Menlo, Consolas, 'Liberation Mono', Courier, monospace; font-size: 10pt; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: rgb(248, 248, 248); color: inherit; border: 1px solid rgb(234, 234, 234); margin: 0px 2px; padding: 0px 5px; word-break: normal; word-wrap: normal; -webkit-margin-before: 0px;" class="">:</code><span class="Apple-converted-space"> </span>in Swift?</p></div></div></blockquote></div><div><div class=""><br class=""></div><div class="">The standard library team (and Xcode generated interfaces) chose the first style for inheritance and where clauses (using the colon like an infix operator).</div><div class=""><br class=""></div><div class="">The documentation team chose the second style, in "The Swift Programming Language" book, and in their WWDC presentation <<a href="https://developer.apple.com/videos/play/wwdc2016/404/" class="">https://developer.apple.com/videos/play/wwdc2016/404/</a>>.</div><div class=""><br class=""></div><div class="">-- Ben</div></div></body></html>