title: iOS - @available does not guard availability here; use if (@available) instead
body: <p>I am using below code but getting the warning,</p>
  <pre><code>bool versionSupports = (@available(iOS 10, *));
  </code></pre>
  <blockquote>
  <p>@available does not guard availability here; use if (@available)
  instead</p>
  </blockquote>
  <p>There is a solution where I can use</p>
  <pre><code>if (@available(iOS 10, *)){
  //compile
  }else{
  //fallback
  }
  </code></pre>
  <p>I was curious, why an output is placeable inside if() condition but not placeable into a boolean variable?</p>