title: Is it possible to define a variable for only a specific iOS version in Swift? On the class level
body: <p>Is it possible to achieve this on the Class level of an object? Specifically looking at this to have an app containing WatchConnectivity but also suppporting iOS8</p>
  
  <pre><code>class Test {
      if #available(iOS 9, *) {
          let session: WCSession ......
      }
  }
  </code></pre>