<div dir="ltr">This is my class...<div><br></div><div>class Human {</div><div>  static var singCount = 0</div><div>  func sing() {</div><div>    print(&quot;Lalala&quot;)</div><div>    type(of: self).singCount += 1</div><div>  }</div><div><br></div><div>I wanna use 
</div><div>   Self.singCount += 1</div><div>but I can&#39;t use it. Why compiler complain use of Self?</div></div>