title: Swift: private get and public set
body: <p>What I found until now is the scenario of a public get and private set like visible below.</p>
  
  <pre><code>private(set) var distanceTravelled: Double
  </code></pre>
  
  <p>I want it the other way around. Of course the following is not working.</p>
  
  <pre><code>private(get) public var distanceTravelled: Double
  </code></pre>