title: Swift 1.2 assigning let after initialization
body: <p>I'm trying to assign a value to a <code>let</code> in Swift 1.2 and its causing a compile error.  On Apple's blog it says that this is now allowed</p>
  
  <blockquote>
    <p>The new rule is that a let constant must be initialized before use (like a var), and that it may only be initialized, not reassigned or mutated after initialization.</p>
  </blockquote>
  
  <p>So in my code i made a let a property in my class</p>
  
  <pre><code>class SampleClass: NSObject {
      let idOfSomething:String
  
      public func createSomething(idString:String)-&gt; Void {
          self.idOfSomething = idString
  
      }
  
  }
  </code></pre>
  
  <p>After I get this far the compiler complains that I cannot assign to self</p>
  
  <p>here is a snapshot of the error, anyone understand what i'm doing wrong?</p>
  
  <p><img src="https://i.stack.imgur.com/NeuoK.png" alt="enter image description here"></p>