title: Instance member cannot be used on instance of nested type?
body: <p>I have the following code below and Xcode keeps giving me an error I do not understand how to solve. </p>
  
  <pre><code>class ViewController: UIViewController {
      private var manager: Manager?
  
      enum Link {
          case faq
          case tos
  
          var url: String {
              switch self {
              case .faq:
                  return "www.google.com"
              case .tos:
                  return manager!.isFreeUser ? "www.google.com" : "www.duckduckgo.com"
              }
          }
      }
  }
  </code></pre>
  
  <p>The error is: </p>
  
  <blockquote>
    <p>Instance member ‘manager’ of type 'ViewController' cannot be used on instance of nested type 'ViewController.Link'</p>
  </blockquote>