<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 2, 2016, at 12:16 PM, Kevin Schlei 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 dir="ltr" class="">Sorry for the premature send! Continuing:<div class=""><br class=""><div class=""><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:14px;line-height:20px;white-space:pre-wrap;background-color:rgb(247,247,247)" class="">let content = listItemView.text.trimming(.</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:14px;line-height:20px;white-space:pre-wrap;background-color:rgb(247,247,247)" class="">whitespaceAndNewlines)</span><br class=""></div><div class=""><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:14px;line-height:20px;white-space:pre-wrap;background-color:rgb(247,247,247)" class=""><br class=""></span></div><div class="">For a beginning programmer, there is no indication of what .trimming does. In this case, it returns a new string instance. Where is that explained? In the documentation. Nowhere near the method call.</div></div></div></div></blockquote><div><br class=""></div><div>To me, it reads like documentation: “content” is assigned the list item view’s text, trimming whitespace and newlines. </div><div><br class=""></div><div>Preston</div></div><br class=""></body></html>