title: Parse Issue / Expected a type for CGFloat in Swift
body: <p>I've added <a href="https://github.com/xmartlabs/XLForm" rel="nofollow">XLForm</a>, an Objective C library, to my Swift project using Xcode 6 beta 6.</p>
  
  <p>The compiler trips on the method prototype of a protocol definition in XLFormDescriptorCell.h</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  ...
  @protocol XLFormDescriptorCell &lt;NSObject&gt;
  ...
  @optional
  +(CGFloat)formDescriptorCellHeightForRowDescriptor:(XLFormRowDescriptor *)rowDescriptor;
    ^
    Parse Issue / Expected a type
  </code></pre>
  
  <p>Additionally a warning: "Semantic Issue: Conflicting return type in implementation of 'forDescriptorCellHeightForRowDescriptor:" 'id' vs 'CGFloat' (aka 'float')</p>
  
  <p>To my project's Bridging-Header.h file I've added (although the parse error occurs whether I add this or not):</p>
  
  <pre><code>#import "XLForm.h"
  </code></pre>
  
  <p>which itself includes XLFormDescriptorCell.h</p>
  
  <p>I can't see where XLForm returns an 'id'. Anyone come across this or something similar?</p>