title: iOS: Can't get first item value from Range<CGFloat>
body: <p>I have a Range with float numbers. I need to get the first and the last elements of the range. With Range everything works fine. However when I try to get values from float range I get error "Ambiguous reference to member 'first'". How do I get values from float range?</p>
  
  <p>I tried casting, unwrapping - same error. Looked at posts with similar problem but nothing seems to work.</p>
  
  <p>let range: Range = 1.0..&lt;3.22</p>
  
  <p>let first: CGFloat = range.first     (!)(Ambiguous reference to member 'first')</p>
  
  <p>I expect to get the first item from the range, instead I get an error.</p>