title: How does "public private(set)" access modifiers work?
body: <p>So im going through the Apple docs here - <a href="https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/AccessControl.html" rel="noreferrer">Apple Docs</a></p>
  
  <p>Then I ran into this..</p>
  
  <pre><code>public struct TrackedString {
      public private(set) var numberOfEdits = 0
      public var value: String = "" {
          didSet {
              numberOfEdits += 1
          }
      }
      public init() {}
  }
  </code></pre>
  
  <p>How does adding <code>public private(set)</code> exactly work? If you can show some easier examples/explanation that would be amazing!</p>