title: Dynamic value for variable stored in enum
body: <p>I have a <code>enum</code>:</p>
  
  <pre><code>enum Role {
      static let Employee = “employee”
      static let Manager = // it depends on other variable values
  }
  </code></pre>
  
  <p>As you see above, the <code>Manager</code> role value is depending on other values, how to make it so that I can pass parameters to <code>Role</code> for <code>Manager</code> to create the right value for <code>Manager</code>?</p>
  
  <p>(If it is impossible to do with <code>enum</code>, what could be the alternative way?)</p>