title: Swift get UnsafePointer of variable
body: <p>I can't realize how to create a pointer of an existing variable in swift.
  Something like <code>int pointer = &amp;variable</code> in C++.</p>
  
  <p>I created this by myself actually:</p>
  
  <pre><code>    var s = "Hello"
      print(s)
  
      func pointer(p: UnsafeMutablePointer&lt;String&gt;) -&gt; UnsafeMutablePointer&lt;String&gt; {
          return p
      }
  
      let p = pointer(&amp;s)
      p.memory = "Bye"
  
      print(s)
  </code></pre>
  
  <p>So it prints "Hello", then "Bye".</p>
  
  <p>But I could't believe there is no standard function for this.</p>