title: Swift: expressions was too complex to be solved in reasonable time
body: <p>Now, I've seen this swift error posted all over stackoverflow. However, the way they handle it won't seem to work in my situation. </p>
  
  <pre><code>if ( 
          fieldType == "checkbox" ||
          fieldType == "time" ||
          fieldType == "birthdate" ||
          fieldType == "datetime" ||
          fieldType == "phone" ||
          fieldType == "payment" ||
          fieldType == "stripe" ||
          fieldType == "paypal" ||
          fieldType == "paypalpro" ||
          fieldType == "address" ||
          fieldType == "2co")
  
  {
  </code></pre>
  
  <p>Not sure how I can fix it. There must be some way to lower the complexity of it.</p>