title: Swift - return itself property on getter and set itself on setter
body: <p>Is anyway to return itself property in the getter and set itself on the setter? Because I just want to print a log inside the getter and the setter and thats it.</p>
  
  <p>For example I trying to do something like this:</p>
  
  <pre><code>private(set) var internetConnectionAvailable: Bool {
      get {
          logger.debug("verifying internet connection")
          // here return itself property
      }
      set {
          logger.debug("changing internet connection")
          // here set itself
      }
  }
  </code></pre>
  
  <p>If I return <code>self.internetConnectionAvailable</code> on the getter I get:</p>
  
  <blockquote>
    <p>Linker command failed with exit code 1</p>
  </blockquote>
  
  <p>when I try to compile the project.</p>
  
  <p>I'm trying to do that because I don't want to create an extra private property to store the get and the set. I'm looking if there are something different to achieve that.</p>