title: Segmentation fault when using toRaw()
body: <p>Working on swift programming language. Using XCode 6.1 GM with iOS 8.1 Beta.</p>
  
  <p>In 2 places inside code getting error message: 
  Method 'fromRaw' has been replaced with a property 'rawValue'. When I replace .toRaw() with .rawValue getting unknown compiler error.</p>
  
  <pre><code>if self._attached != nil &amp;&amp; self._attached!.toRaw() == i {
              continue
          }
  
    ...
    self._segmentPoints[direction.clockwise().toRaw()].0, self._segmentPoints[direction.counterclockwise().toRaw()].1)
  </code></pre>
  
  <p>What am I doing wrong? any suggestions on how to use <code>.rawValue</code>?</p>