title: Static Property Observers
body: <p>As usual, this normally works:</p>
  
  <pre><code>var someVar = 1{
      didSet{
          callSomeMethod()
      }
  }
  </code></pre>
  
  <p>However, when I make the var static then I cant call the method anymore. </p>
  
  <pre><code>static var someVar = 1{
      didSet{
          callSomeMethod() // -&gt; gives error
      }
  }
  </code></pre>
  
  <p>The error is shown below. Is it not possible to have property observers on static variables? If so, is there an alternative? Somebody please help.</p>
  
  <p><a href="https://i.stack.imgur.com/TD1Am.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TD1Am.png" alt="enter image description here"></a></p>