title: Xcode: Type of expression is ambiguous without more context
body: <p>Xcode error: Type of expression is ambiguous without more context</p>
  
  <p>How do I fix it?</p>
  
  <pre><code>let componentss = calendar.components(.CalendarUnitYear | .CalendarUnitMonth | .CalendarUnitDay | .CalendarUnitHour | .CalendarUnitMinute | .CalendarUnitSecond, fromDate: date)</code></pre>