title: Swift functions with no parameters
body: <p>I have some simple code in my Utilities.swift because I can never remember "uftwhatever" or count(self).</p>
  
  <pre><code>extension String {
      func length() -&gt; Int {
          return count(self)
      }
  }
  </code></pre>
  
  <p>But this means to call it I need to use something like...</p>
  
  <pre><code>let l = myString.length()
  </code></pre>
  
  <p>I'd my prefer to do...</p>
  
  <pre><code>let l = myString.length
  </code></pre>
  
  <p>But I can't figure it out. Is this possible?</p>